]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Constructor/src/or.cpp
Se arregla el cliente para que compile de nuevo (NOT TESTED!)
[z.facultad/75.42/plaqui.git] / Constructor / src / or.cpp
index fbd2152f99f5aa51dc0bee3c1e52ec9c29cbed10..d7e8a780ac4b48d0906ea10091677fc426abb9cd 100644 (file)
@@ -28,8 +28,11 @@ bool Or::on_button_press_event(GdkEventButton *event)
                if ( CItem::logic_connect ) {
                        CItem::gate_id = ID;
                        WorkPlace::pointed = ID;
+                       workplace->queue_draw();
                }
-               combo_entry->set_text(name);
+               list_pointed->push_back(name);
+               combo_entry->set_popdown_strings(*list_pointed);
+               combo_entry->get_entry()->set_text (name);
        }
        
        if ((event->type == GDK_BUTTON_PRESS) && ( event->button == 2)){