Add button for setting default radar products

This commit is contained in:
AdenKoperczak 2025-04-12 13:03:02 -04:00
parent 443f5a3615
commit ac3c986568
No known key found for this signature in database
GPG key ID: 9843017036F62EE7
3 changed files with 86 additions and 52 deletions

View file

@ -76,7 +76,7 @@ public:
{
common::RadarProductGroup radarProductGroup =
common::GetRadarProductGroup(
map_.at(i).radarProductGroup_.GetValue());
map_.at(i).radarProductGroup_.GetStagedOrValue());
if (radarProductGroup == common::RadarProductGroup::Level2)
{
@ -193,6 +193,8 @@ bool MapSettings::Shutdown()
dataChanged |= mapRecordSettings.mapStyle_.Commit();
dataChanged |= mapRecordSettings.smoothingEnabled_.Commit();
dataChanged |= mapRecordSettings.radarProductGroup_.Commit();
dataChanged |= mapRecordSettings.radarProduct_.Commit();
}
return dataChanged;