X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/6fcc8fcf6b98f413f813904fe0f078d2782fb9d5..c45e0693cd6b07a5123955102de53d96143f7fd8:/Constructor/src/exclusa.cpp?ds=sidebyside diff --git a/Constructor/src/exclusa.cpp b/Constructor/src/exclusa.cpp index 5fc6cee..5eb4ead 100644 --- a/Constructor/src/exclusa.cpp +++ b/Constructor/src/exclusa.cpp @@ -55,7 +55,7 @@ bool Exclusa::on_button_press_event(GdkEventButton *event) workplace->queue_draw(); } else if (detect_click_position((int)event->x, (int)event->y) == OUT ) { if (dynamic_cast(workplace->get_logic_item(CItem::gate_id))) { - if (!dynamic_cast(workplace->get_logic_item(CItem::gate_id))->get_out_logic_connect()) { + if (!dynamic_cast(workplace->get_logic_item(CItem::gate_id))->get_in_logic_connect()) { workplace->get_logic_item(CItem::gate_id)->set_in_connected(true); tmp_line.logic_id = CItem::gate_id; tmp_line.store_id = ID;