mirror of
https://github.com/rizinorg/cutter.git
synced 2025-01-19 02:48:49 +00:00
Fix asm.var.sub* fetching in AsmOptionsWidget
This commit is contained in:
parent
ea1080f412
commit
a73492a718
@ -93,9 +93,9 @@ void AsmOptionsWidget::updateAsmOptionsFromVars()
|
|||||||
|
|
||||||
qhelpers::setCheckedWithoutSignals(ui->bblineCheckBox, Config()->getConfigBool("asm.bbline"));
|
qhelpers::setCheckedWithoutSignals(ui->bblineCheckBox, Config()->getConfigBool("asm.bbline"));
|
||||||
|
|
||||||
bool varsubEnabled = Config()->getConfigBool("asm.varsub");
|
bool varsubEnabled = Config()->getConfigBool("asm.var.sub");
|
||||||
qhelpers::setCheckedWithoutSignals(ui->varsubCheckBox, varsubEnabled);
|
qhelpers::setCheckedWithoutSignals(ui->varsubCheckBox, varsubEnabled);
|
||||||
qhelpers::setCheckedWithoutSignals(ui->varsubOnlyCheckBox, Config()->getConfigBool("asm.varsub_only"));
|
qhelpers::setCheckedWithoutSignals(ui->varsubOnlyCheckBox, Config()->getConfigBool("asm.var.subonly"));
|
||||||
ui->varsubOnlyCheckBox->setEnabled(varsubEnabled);
|
ui->varsubOnlyCheckBox->setEnabled(varsubEnabled);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user