mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-04-13 12:42:20 +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)
|
ElevationChartWindow::telemetryUpdate(const RealtimeData &rtData)
|
||||||
{
|
{
|
||||||
// If it is not visible, it saves time
|
// If it is not visible, it saves time
|
||||||
if (isHidden())
|
if (!isVisible())
|
||||||
return;
|
return;
|
||||||
m_rtData = rtData;
|
m_rtData = rtData;
|
||||||
bubbleWidget->setRealtimeData(&m_rtData);
|
bubbleWidget->setRealtimeData(&m_rtData);
|
||||||
|
|||||||
Reference in New Issue
Block a user