diff --git a/src/dialogs/preferences/AsmOptionsWidget.cpp b/src/dialogs/preferences/AsmOptionsWidget.cpp
index a4bb9217..bf2a5d2d 100644
--- a/src/dialogs/preferences/AsmOptionsWidget.cpp
+++ b/src/dialogs/preferences/AsmOptionsWidget.cpp
@@ -42,6 +42,7 @@ void AsmOptionsWidget::updateAsmOptionsFromVars()
qhelpers::setCheckedWithoutSignals(ui->fcnlinesCheckBox, Config()->getConfigBool("asm.lines.fcn"));
qhelpers::setCheckedWithoutSignals(ui->flgoffCheckBox, Config()->getConfigBool("asm.flags.offset"));
qhelpers::setCheckedWithoutSignals(ui->emuCheckBox, Config()->getConfigBool("asm.emu"));
+ qhelpers::setCheckedWithoutSignals(ui->emuStrCheckBox, Config()->getConfigBool("emu.str"));
qhelpers::setCheckedWithoutSignals(ui->varsumCheckBox, Config()->getConfigBool("asm.var.summary"));
qhelpers::setCheckedWithoutSignals(ui->sizeCheckBox, Config()->getConfigBool("asm.size"));
@@ -183,6 +184,12 @@ void AsmOptionsWidget::on_emuCheckBox_toggled(bool checked)
triggerAsmOptionsChanged();
}
+void AsmOptionsWidget::on_emuStrCheckBox_toggled(bool checked)
+{
+ Config()->setConfig("emu.str", checked);
+ triggerAsmOptionsChanged();
+}
+
void AsmOptionsWidget::on_cmtrightCheckBox_toggled(bool checked)
{
Config()->setConfig("asm.cmt.right", checked);
diff --git a/src/dialogs/preferences/AsmOptionsWidget.h b/src/dialogs/preferences/AsmOptionsWidget.h
index 320216cb..0f044efe 100644
--- a/src/dialogs/preferences/AsmOptionsWidget.h
+++ b/src/dialogs/preferences/AsmOptionsWidget.h
@@ -43,6 +43,7 @@ private slots:
void on_fcnlinesCheckBox_toggled(bool checked);
void on_flgoffCheckBox_toggled(bool checked);
void on_emuCheckBox_toggled(bool checked);
+ void on_emuStrCheckBox_toggled(bool checked);
void on_cmtrightCheckBox_toggled(bool checked);
void on_cmtcolSpinBox_valueChanged(int value);
void on_varsumCheckBox_toggled(bool checked);
diff --git a/src/dialogs/preferences/AsmOptionsWidget.ui b/src/dialogs/preferences/AsmOptionsWidget.ui
index bbca573a..6663f97b 100644
--- a/src/dialogs/preferences/AsmOptionsWidget.ui
+++ b/src/dialogs/preferences/AsmOptionsWidget.ui
@@ -17,7 +17,7 @@
-
- 0
+ 1
@@ -53,11 +53,11 @@
-
-
-
- Indent disassembly based on reflines depth (asm.indent)
-
-
+
+
+ Indent disassembly based on reflines depth (asm.indent)
+
+
-
@@ -239,6 +239,13 @@
+ -
+
+
+ Show only strings if any in the asm.emu output (emu.str)
+
+
+
-