]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Constructor/src/not.cpp
-Se carga la lista de items al ir haciendo click sobre ellos
[z.facultad/75.42/plaqui.git] / Constructor / src / not.cpp
index 463a91a8aaaa1c20889cd38dbf8afcc15c16367c..0a7c8c707748c459b4db250da5a9ad85644b156c 100644 (file)
@@ -30,7 +30,10 @@ bool Not::on_button_press_event(GdkEventButton *event)
                        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)){