Applying product load status to level 2

This commit is contained in:
Dan Paulat 2025-08-30 22:41:17 -05:00
parent 403a556b30
commit b0c7554f47
2 changed files with 107 additions and 13 deletions

View file

@ -210,6 +210,22 @@ void Level2ProductView::ConnectRadarProductManager()
Update();
}
});
connect(radar_product_manager().get(),
&manager::RadarProductManager::ProductTimesPopulated,
this,
[this](common::RadarProductGroup group,
const std::string& /* product */,
std::chrono::system_clock::time_point queryTime)
{
if (group == common::RadarProductGroup::Level2 &&
queryTime == selected_time())
{
// If the data associated with the currently selected time is
// reloaded, update the view
Update();
}
});
}
void Level2ProductView::DisconnectRadarProductManager()