解决设置界面的取消键功能异常
This commit is contained in:
parent
81db1bea36
commit
92f0f8ffd1
|
@ -1613,6 +1613,7 @@ void hg_settingdialog::cancel_setting(void)
|
|||
{
|
||||
// restore changed value ...
|
||||
cur_scheme_->end_setting(true);
|
||||
dev_que::apply_scheme(m_handle, cur_scheme_);
|
||||
}
|
||||
|
||||
void hg_settingdialog::getAppVersion()
|
||||
|
@ -1803,6 +1804,7 @@ void hg_settingdialog::slot_pushButton_scheme_management(void)
|
|||
|
||||
on_current_scheme_changed();
|
||||
changed_count_++;
|
||||
cur_cfg_->save();
|
||||
}
|
||||
else if(btn == del_all_)
|
||||
{
|
||||
|
@ -1818,6 +1820,8 @@ void hg_settingdialog::slot_pushButton_scheme_management(void)
|
|||
updateUIStatus();
|
||||
comb_->clear();
|
||||
changed_count_++;
|
||||
cur_cfg_->remove_all_schemes();
|
||||
cur_cfg_->save();
|
||||
}
|
||||
}
|
||||
void hg_settingdialog::restore_2_default_settings(void)
|
||||
|
|
Loading…
Reference in New Issue