mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-19 19:36:11 +00:00
Fixed asm bb sepparation spacy/bbline
This commit is contained in:
parent
eb661fa9fc
commit
d565c76483
@ -417,11 +417,11 @@ void MainWindow::applySettings()
|
||||
// Show spaces in dasm
|
||||
if (settings.getSpacy())
|
||||
{
|
||||
core->config("asm.spacy", "true");
|
||||
core->config("asm.bbline", "true");
|
||||
}
|
||||
else
|
||||
{
|
||||
core->config("asm.spacy", "false");
|
||||
core->config("asm.bbline", "false");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -38,7 +38,7 @@ OptionsDialog::OptionsDialog(MainWindow *main):
|
||||
ui->descriptionCheckBox->setChecked(settings.value("describe").toBool());
|
||||
ui->stackCheckBox->setChecked(settings.value("stackptr").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);
|
||||
|
||||
|
@ -26,7 +26,7 @@ public:
|
||||
void setUppercaseDisas(bool v) { settings.setValue("ucase", v); }
|
||||
|
||||
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
|
||||
|
@ -1220,7 +1220,7 @@ void MemoryWidget::on_actionRight_align_bytes_triggered()
|
||||
|
||||
void MemoryWidget::on_actionSeparate_disasm_calls_triggered()
|
||||
{
|
||||
this->main->core->cmd("e!asm.spacy");
|
||||
this->main->core->cmd("e!asm.bbline");
|
||||
this->refreshDisasm();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user