diff options
author | Daniel Jones <admin@danieljon.es> | 2020-06-24 23:58:36 +0930 |
---|---|---|
committer | Daniel Jones <admin@danieljon.es> | 2020-06-24 23:58:36 +0930 |
commit | e554f9c170ef9ce2a3d3b9445be249ad8e33b52e (patch) | |
tree | e43a8a08b63741ea3c07123844fd0a8ce2e3f643 | |
parent | 0b0ebd297afbd0ed302ae7b0eff25b916e3e80c2 (diff) | |
download | foxlogicgates-e554f9c170ef9ce2a3d3b9445be249ad8e33b52e.tar.gz foxlogicgates-e554f9c170ef9ce2a3d3b9445be249ad8e33b52e.zip |
logic: fixed crash when selecting link from bottom of single input gate.
-rw-r--r-- | MainWindow.cpp | 1 |
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; |