diff --git a/scwx-qt/source/scwx/qt/main/main_window.cpp b/scwx-qt/source/scwx/qt/main/main_window.cpp index 30fb76bf..725bb2c0 100644 --- a/scwx-qt/source/scwx/qt/main/main_window.cpp +++ b/scwx-qt/source/scwx/qt/main/main_window.cpp @@ -176,6 +176,8 @@ class MainWindowImpl : public QObject std::vector maps_; std::vector elevationCuts_; + std::chrono::system_clock::time_point volumeTime_ {}; + bool elevationButtonsChanged_; bool resizeElevationButtons_; @@ -820,6 +822,7 @@ void MainWindowImpl::ConnectAnimationSignals() { for (auto map : maps_) { + volumeTime_ = dateTime; map->SelectTime(dateTime); } }); @@ -1009,8 +1012,7 @@ void MainWindowImpl::SelectRadarProduct(map::MapWidget* mapWidget, UpdateRadarProductSettings(); } - mapWidget->SelectRadarProduct( - group, productName, productCode, mapWidget->GetSelectedTime()); + mapWidget->SelectRadarProduct(group, productName, productCode, volumeTime_); } void MainWindowImpl::SetActiveMap(map::MapWidget* mapWidget)