diff --git a/src/dialogs/preferences/AsmOptionsWidget.cpp b/src/dialogs/preferences/AsmOptionsWidget.cpp index 65dad18c..9c1e4c95 100644 --- a/src/dialogs/preferences/AsmOptionsWidget.cpp +++ b/src/dialogs/preferences/AsmOptionsWidget.cpp @@ -93,9 +93,9 @@ void AsmOptionsWidget::updateAsmOptionsFromVars() 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->varsubOnlyCheckBox, Config()->getConfigBool("asm.varsub_only")); + qhelpers::setCheckedWithoutSignals(ui->varsubOnlyCheckBox, Config()->getConfigBool("asm.var.subonly")); ui->varsubOnlyCheckBox->setEnabled(varsubEnabled); }