mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-14 08:38:45 +00:00
Using \!isVisible() instead behaves as expected, to avoid updating elevation chart widget in training to be updating when it is not in the selected layout
This commit is contained in:
@@ -303,7 +303,7 @@ void
|
||||
ElevationChartWindow::telemetryUpdate(const RealtimeData &rtData)
|
||||
{
|
||||
// If it is not visible, it saves time
|
||||
if (isHidden())
|
||||
if (!isVisible())
|
||||
return;
|
||||
m_rtData = rtData;
|
||||
bubbleWidget->setRealtimeData(&m_rtData);
|
||||
|
||||
Reference in New Issue
Block a user