diff --git a/editor.cpp b/editor.cpp index f32e405f..8c8d7c0f 100755 --- a/editor.cpp +++ b/editor.cpp @@ -2,6 +2,7 @@ #include #include #include +#include Editor::Editor(Ui::MainWindow* ui) { @@ -249,7 +250,7 @@ void Editor::setConnectionEditControlsEnabled(bool enabled) { ui->spinBox_ConnectionOffset->setEnabled(enabled); if (!enabled) { - setConnectionEditControlValues(false); + setConnectionEditControlValues(0); } }