Fixed asm bb sepparation spacy/bbline

This commit is contained in:
Hugo Teso 2017-05-19 15:25:48 +02:00
parent eb661fa9fc
commit d565c76483
4 changed files with 5 additions and 5 deletions

View File

@ -417,11 +417,11 @@ void MainWindow::applySettings()
// Show spaces in dasm // Show spaces in dasm
if (settings.getSpacy()) if (settings.getSpacy())
{ {
core->config("asm.spacy", "true"); core->config("asm.bbline", "true");
} }
else else
{ {
core->config("asm.spacy", "false"); core->config("asm.bbline", "false");
} }
} }

View File

@ -38,7 +38,7 @@ OptionsDialog::OptionsDialog(MainWindow *main):
ui->descriptionCheckBox->setChecked(settings.value("describe").toBool()); ui->descriptionCheckBox->setChecked(settings.value("describe").toBool());
ui->stackCheckBox->setChecked(settings.value("stackptr").toBool()); ui->stackCheckBox->setChecked(settings.value("stackptr").toBool());
ui->ucaseCheckBox->setChecked(settings.value("ucase").toBool()); ui->ucaseCheckBox->setChecked(settings.value("ucase").toBool());
ui->spacyCheckBox->setChecked(settings.value("spacy").toBool()); ui->spacyCheckBox->setChecked(settings.value("bbline").toBool());
ui->hideFrame->setVisible(false); ui->hideFrame->setVisible(false);

View File

@ -26,7 +26,7 @@ public:
void setUppercaseDisas(bool v) { settings.setValue("ucase", v); } void setUppercaseDisas(bool v) { settings.setValue("ucase", v); }
bool getSpacy() const { return settings.value("spacy", false).toBool(); } bool getSpacy() const { return settings.value("spacy", false).toBool(); }
void setSpacy(bool v) { settings.setValue("spacy", v); } void setSpacy(bool v) { settings.setValue("bbline", v); }
}; };
#endif // SETTINGS_H #endif // SETTINGS_H

View File

@ -1220,7 +1220,7 @@ void MemoryWidget::on_actionRight_align_bytes_triggered()
void MemoryWidget::on_actionSeparate_disasm_calls_triggered() void MemoryWidget::on_actionSeparate_disasm_calls_triggered()
{ {
this->main->core->cmd("e!asm.spacy"); this->main->core->cmd("e!asm.bbline");
this->refreshDisasm(); this->refreshDisasm();
} }