From c8c536ebac935ebc69aef557d077af4bca550a12 Mon Sep 17 00:00:00 2001 From: joern274 Date: Wed, 24 Jul 2024 15:13:40 +0200 Subject: [PATCH] Minor bugfix --- plugins/gui_extension_demo/python/python_bindings.cpp | 1 + plugins/logic_evaluator/src/logic_evaluator_select_gates.cpp | 2 +- plugins/logic_evaluator/src/logic_evaluator_truthtable.cpp | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/gui_extension_demo/python/python_bindings.cpp b/plugins/gui_extension_demo/python/python_bindings.cpp index 4075fe5e849..93ed06a2c1b 100644 --- a/plugins/gui_extension_demo/python/python_bindings.cpp +++ b/plugins/gui_extension_demo/python/python_bindings.cpp @@ -54,6 +54,7 @@ namespace hal .value("ComboBox", PluginParameter::ComboBox, R"(Combo box to select string from semicolon separated input list.)") .value("Dictionary", PluginParameter::Dictionary, R"(Key value pairs (string).)") .value("ExistingDir", PluginParameter::ExistingDir, R"(Existing directory.)") + .value("ExistingFile",PluginParameter::ExistingFile,R"(Existing file.)") .value("Float", PluginParameter::Float, R"(Floating point number.)") .value("Gate", PluginParameter::Gate, R"(Gate ID.)") .value("Integer", PluginParameter::Integer, R"(Integer number.)") diff --git a/plugins/logic_evaluator/src/logic_evaluator_select_gates.cpp b/plugins/logic_evaluator/src/logic_evaluator_select_gates.cpp index 3d0c458e036..53c50ce0769 100644 --- a/plugins/logic_evaluator/src/logic_evaluator_select_gates.cpp +++ b/plugins/logic_evaluator/src/logic_evaluator_select_gates.cpp @@ -270,7 +270,7 @@ namespace hal { void LogicEvaluatorSelectGates::accept() { - LogicEvaluatorDialog* led = new LogicEvaluatorDialog(mSelectGateModel->selectedGates(),mCompile->isChecked()); + LogicEvaluatorDialog* led = new LogicEvaluatorDialog(mSelectGateModel->selectedGates(),!mCompile->isChecked()); led->show(); led->raise(); QDialog::accept(); diff --git a/plugins/logic_evaluator/src/logic_evaluator_truthtable.cpp b/plugins/logic_evaluator/src/logic_evaluator_truthtable.cpp index 5e35799e04f..b91b4a6388b 100644 --- a/plugins/logic_evaluator/src/logic_evaluator_truthtable.cpp +++ b/plugins/logic_evaluator/src/logic_evaluator_truthtable.cpp @@ -173,6 +173,7 @@ namespace hal { LogicEvaluatorTruthtable::LogicEvaluatorTruthtable(LogicEvaluatorTruthtableModel* model, QWidget* parent) : mModel(model), mColumnDubbleClicked(-1) { + setWindowTitle("Truth Table from Logic Evaluator"); QGridLayout* layout = new QGridLayout(this); QMenuBar* menuBar = new QMenuBar(this); QMenu* displForm = menuBar->addMenu("Format");