diff --git a/NEWS.md b/NEWS.md index f1c464b1..fbbb4f4e 100644 --- a/NEWS.md +++ b/NEWS.md @@ -30,6 +30,7 @@ Red Panda C++ Version 1.0.0 - fix: correct tokenize statements like "using ::memcpy"; - fix: wrong font size of exported HTML file - fix: parse error in avxintrin.h + - fix: switch disassembly mode doesn't update contents Red Panda C++ Version 0.14.5 - fix: the "gnu c++ 20" option in compiler set options is wrong diff --git a/RedPandaIDE/widgets/cpudialog.cpp b/RedPandaIDE/widgets/cpudialog.cpp index b564b7c7..fe85ded8 100644 --- a/RedPandaIDE/widgets/cpudialog.cpp +++ b/RedPandaIDE/widgets/cpudialog.cpp @@ -162,14 +162,14 @@ void CPUDialog::closeEvent(QCloseEvent *event) void CPUDialog::on_rdIntel_toggled(bool) { - sendSyntaxCommand(); + updateInfo(); pSettings->debugger().setUseIntelStyle(ui->rdIntel->isChecked()); pSettings->debugger().save(); } void CPUDialog::on_rdATT_toggled(bool) { - sendSyntaxCommand(); + updateInfo(); pSettings->debugger().setUseIntelStyle(ui->rdIntel->isChecked()); pSettings->debugger().save(); }