mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-19 11:26:11 +00:00
Force asm.offset=true for now
This commit is contained in:
parent
fad16b4a17
commit
7f378d66c3
@ -829,6 +829,10 @@ void CutterCore::setSettings()
|
|||||||
setConfig("asm.midflags", 2);
|
setConfig("asm.midflags", 2);
|
||||||
//setConfig("asm.bbline", "true");
|
//setConfig("asm.bbline", "true");
|
||||||
|
|
||||||
|
// asm.offset=false would break reading the offset in DisassemblyWidget
|
||||||
|
// TODO: remove this when DisassemblyWidget::readDisassemblyOffset() allows it
|
||||||
|
setConfig("asm.offset", true);
|
||||||
|
|
||||||
setConfig("anal.hasnext", true);
|
setConfig("anal.hasnext", true);
|
||||||
setConfig("asm.fcncalls", false);
|
setConfig("asm.fcncalls", false);
|
||||||
setConfig("asm.calls", false);
|
setConfig("asm.calls", false);
|
||||||
|
@ -24,6 +24,10 @@ AsmOptionsDialog::AsmOptionsDialog(QWidget *parent)
|
|||||||
QFont currentFont = Config()->getFont();
|
QFont currentFont = Config()->getFont();
|
||||||
ui->fontSelectionLabel->setText(currentFont.toString());
|
ui->fontSelectionLabel->setText(currentFont.toString());
|
||||||
|
|
||||||
|
// asm.offset=false would break reading the offset in DisassemblyWidget
|
||||||
|
// TODO: remove this when DisassemblyWidget::readDisassemblyOffset() allows it
|
||||||
|
ui->offsetCheckBox->setVisible(false);
|
||||||
|
|
||||||
updateFromVars();
|
updateFromVars();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user