Skip to content

Commit

Permalink
Fix 'compile' check mark on start
Browse files Browse the repository at this point in the history
  • Loading branch information
joern274 committed Jul 24, 2024
1 parent c8c536e commit a2503ca
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion plugins/logic_evaluator/src/logic_evaluator_dialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ namespace hal {
mActionCompile = options->addAction("Run compiled logic");
connect(mActionCompile, &QAction::toggled, this, &LogicEvaluatorDialog::handleCompiledToggled);
mActionCompile->setCheckable(true);
mActionCompile->setChecked(false);
mActionIndicate = options->addAction("Show in graphic view");
connect(mActionIndicate, &QAction::toggled, this, &LogicEvaluatorDialog::handleIndicateToggled);
mActionIndicate->setCheckable(true);
Expand All @@ -153,7 +154,9 @@ namespace hal {
tview->setMinimumWidth(400);

if (!skipCompile)
compile();
{
mActionCompile->setChecked(true);
}

QStyle* s = style();

Expand Down

0 comments on commit a2503ca

Please sign in to comment.