mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 19:50:05 +00:00
Save settings changes functionality
This commit is contained in:
parent
f7cc902eef
commit
6b90c5471d
3 changed files with 21 additions and 5 deletions
|
|
@ -373,7 +373,7 @@ void SettingsDialogImpl::UpdateRadarDialogLocation(const std::string& id)
|
|||
|
||||
void SettingsDialogImpl::ApplyChanges()
|
||||
{
|
||||
logger_->info("Apply settings changes");
|
||||
logger_->info("Applying settings changes");
|
||||
|
||||
bool committed = false;
|
||||
|
||||
|
|
@ -384,13 +384,13 @@ void SettingsDialogImpl::ApplyChanges()
|
|||
|
||||
if (committed)
|
||||
{
|
||||
logger_->info("Saving changes");
|
||||
manager::SettingsManager::SaveSettings();
|
||||
}
|
||||
}
|
||||
|
||||
void SettingsDialogImpl::DiscardChanges()
|
||||
{
|
||||
logger_->info("Discard settings changes");
|
||||
logger_->info("Discarding settings changes");
|
||||
|
||||
for (auto& setting : settings_)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue