mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 15:00:04 +00:00
Add button for setting default radar products
This commit is contained in:
parent
443f5a3615
commit
ac3c986568
3 changed files with 86 additions and 52 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue