- fix: switch disassembly mode doesn't update contents

This commit is contained in:
Roy Qu 2022-03-16 19:48:20 +08:00
parent 69ca9f3a79
commit eb2e2bb58f
2 changed files with 3 additions and 2 deletions

View File

@ -30,6 +30,7 @@ Red Panda C++ Version 1.0.0
- fix: correct tokenize statements like "using ::memcpy"; - fix: correct tokenize statements like "using ::memcpy";
- fix: wrong font size of exported HTML file - fix: wrong font size of exported HTML file
- fix: parse error in avxintrin.h - fix: parse error in avxintrin.h
- fix: switch disassembly mode doesn't update contents
Red Panda C++ Version 0.14.5 Red Panda C++ Version 0.14.5
- fix: the "gnu c++ 20" option in compiler set options is wrong - fix: the "gnu c++ 20" option in compiler set options is wrong

View File

@ -162,14 +162,14 @@ void CPUDialog::closeEvent(QCloseEvent *event)
void CPUDialog::on_rdIntel_toggled(bool) void CPUDialog::on_rdIntel_toggled(bool)
{ {
sendSyntaxCommand(); updateInfo();
pSettings->debugger().setUseIntelStyle(ui->rdIntel->isChecked()); pSettings->debugger().setUseIntelStyle(ui->rdIntel->isChecked());
pSettings->debugger().save(); pSettings->debugger().save();
} }
void CPUDialog::on_rdATT_toggled(bool) void CPUDialog::on_rdATT_toggled(bool)
{ {
sendSyntaxCommand(); updateInfo();
pSettings->debugger().setUseIntelStyle(ui->rdIntel->isChecked()); pSettings->debugger().setUseIntelStyle(ui->rdIntel->isChecked());
pSettings->debugger().save(); pSettings->debugger().save();
} }