]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Constructor/src/drain.cpp
Se pasa la conexion suicida al finish del TCPServer para que sea 'transparente'.
[z.facultad/75.42/plaqui.git] / Constructor / src / drain.cpp
index 9eefcefefbf280801c5328e0542f6cfc818e229e..afd71ec0de72646fae693f6a92d39945511386dc 100644 (file)
@@ -40,8 +40,10 @@ Drain::~Drain()
 
 bool Drain::on_button_press_event(GdkEventButton *event)
 {
-       if ((event->type == GDK_BUTTON_PRESS) && ( event->button == 1))
+       if ((event->type == GDK_BUTTON_PRESS) && ( event->button == 1)) {
                combo_entry->set_text(name);
+               WorkPlace::pointed = ID;
+       }
        
        if ((event->type == GDK_BUTTON_PRESS) && ( event->button ==2)){
                image = null;