]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Constructor/src/not.cpp
ahora se corrige BIEN el mismo bug
[z.facultad/75.42/plaqui.git] / Constructor / src / not.cpp
index 34fccf7a746d1946a0146c434611dd068d587cb6..dcf95c207d90b0edfef453f557b77b705057f636 100644 (file)
@@ -22,7 +22,7 @@ bool Not::on_button_press_event(GdkEventButton *event)
 {
        if ((event->type == GDK_BUTTON_PRESS) && ( event->button == 1)) {
                if (CItem::logic_connect)
 {
        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;
        }
                combo_entry->set_text(name);
                WorkPlace::pointed = ID;
        }
@@ -52,6 +52,7 @@ bool Not::on_button_press_event(GdkEventButton *event)
                menu_popup.popup(event->button, event->time);
                 return true; //It has been handled.
        }
                menu_popup.popup(event->button, event->time);
                 return true; //It has been handled.
        }
+       workplace->queue_draw();
        return true;
 }
 void Not::on_menu_popup_rotar()
        return true;
 }
 void Not::on_menu_popup_rotar()