X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/ee2cb3d6c26ae319d20bde28f415393e96611ece..3b6a42222383cfd5f7ef0d6116077fb2fecb28d6:/Constructor/src/and.cpp diff --git a/Constructor/src/and.cpp b/Constructor/src/and.cpp index 0d8a795..c73b062 100644 --- a/Constructor/src/and.cpp +++ b/Constructor/src/and.cpp @@ -22,7 +22,7 @@ bool And::on_button_press_event(GdkEventButton *event) { if ((event->type == GDK_BUTTON_PRESS) && ( event->button == 1)) { if (CItem::logic_connect) - CItem::quien = ID; + CItem::gate_id = ID; combo_entry->set_text(name); WorkPlace::pointed = ID; } @@ -52,6 +52,7 @@ bool And::on_button_press_event(GdkEventButton *event) menu_popup.popup(event->button, event->time); return true; //It has been handled. } + workplace->queue_draw(); return true; } void And::on_menu_popup_rotar()