bool Not::on_button_press_event(GdkEventButton *event)
{
+
if ((event->type == GDK_BUTTON_PRESS) && ( event->button == 1)) {
- if (CItem::logic_connect)
- CItem::gate_id = ID;
+ CItem::logic_connect = true;
+ CItem::gate_id = ID;
combo_entry->set_text(name);
WorkPlace::pointed = ID;
}