解决飞简体中文模式下,设置界面恢复按钮功能异常的问题;
This commit is contained in:
parent
acf2827d7f
commit
397076c9d3
|
@ -2537,7 +2537,8 @@ void hg_settingdialog::slot_pushButton_scheme_management(void)
|
|||
}
|
||||
else if (btn == m_pbtn_restore)
|
||||
{
|
||||
cur_scheme_ = cur_cfg_->get_scheme(comb_->currentText().toStdString().c_str());
|
||||
bool ok = false;
|
||||
cur_scheme_ = cur_cfg_->get_scheme(to_default_language(comb_->currentText().toStdString().c_str(), &ok));
|
||||
hg_settingdialog::apply_scheme(m_devHandle, &m_saneAPI, cur_scheme_);
|
||||
updateUIStatus();
|
||||
updateRestorePushButton();
|
||||
|
|
Loading…
Reference in New Issue