]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Constructor/src/and.cpp
-Se carga la lista de items al ir haciendo click sobre ellos
[z.facultad/75.42/plaqui.git] / Constructor / src / and.cpp
index 4e0534ebe312a1176562e99e0a37f428dcfb8cec..2862eaaf2b90db7ad121e0904cdb0325130bf8aa 100644 (file)
@@ -29,8 +29,10 @@ bool And::on_button_press_event(GdkEventButton *event)
                        CItem::gate_id = ID;
                        WorkPlace::pointed = ID;
                }
                        CItem::gate_id = ID;
                        WorkPlace::pointed = ID;
                }
-               combo_entry->set_text(name);
-               
+               list_pointed->push_back(name);
+               combo_entry->set_popdown_strings(*list_pointed);
+               combo_entry->get_entry()->set_text (name);
+               workplace->queue_draw();
        }
        
        if ((event->type == GDK_BUTTON_PRESS) && ( event->button == 2)){
        }
        
        if ((event->type == GDK_BUTTON_PRESS) && ( event->button == 2)){