X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/667418327423ba116d24751926a95a2f1235849c..ee2cb3d6c26ae319d20bde28f415393e96611ece:/Constructor/src/and.cpp?ds=sidebyside diff --git a/Constructor/src/and.cpp b/Constructor/src/and.cpp index 9ee2867..0d8a795 100644 --- a/Constructor/src/and.cpp +++ b/Constructor/src/and.cpp @@ -20,8 +20,12 @@ And::~And() bool And::on_button_press_event(GdkEventButton *event) { - if ((event->type == GDK_BUTTON_PRESS) && ( event->button == 1)) + if ((event->type == GDK_BUTTON_PRESS) && ( event->button == 1)) { + if (CItem::logic_connect) + CItem::quien = ID; combo_entry->set_text(name); + WorkPlace::pointed = ID; + } if ((event->type == GDK_BUTTON_PRESS) && ( event->button == 2)){ image = null;