forked from Ivasoft/DSView
Apply the decoder setting from dialog after translate language
This commit is contained in:
@@ -517,7 +517,7 @@ void DecoderOptionsDlg::on_trans_pramas()
|
||||
AppConfig::Instance()._appOptions.transDecoderDlg = ck_box->isChecked();
|
||||
AppConfig::Instance().SaveApp();
|
||||
_is_reload_form = true;
|
||||
this->close();
|
||||
this->accept();
|
||||
}
|
||||
|
||||
}//dialogs
|
||||
|
||||
@@ -697,7 +697,7 @@ bool DecodeTrace::create_popup(bool isnew)
|
||||
dlg.get_cursor_range(_decode_cursor1, _decode_cursor2);
|
||||
}
|
||||
|
||||
if (QDialog::Accepted == dlg_ret || dlg.is_reload_form() == false){
|
||||
if (QDialog::Rejected == dlg_ret || dlg.is_reload_form() == false){
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user