summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MainWindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/MainWindow.cpp b/MainWindow.cpp
index c7456ce..4ee0742 100644
--- a/MainWindow.cpp
+++ b/MainWindow.cpp
@@ -435,6 +435,7 @@ MainWindow::find_selected_input(int x, int y)
if (selected_gate->get_gate_type() == Gate::NOT || selected_gate->get_gate_type() == Gate::OUTPUT)
{
input_gate = selected_gate->get_input_gate1();
+ input = 1;
}
}
break;