tmp_line.store = this;
workplace->lista_lineas_in.push_back(tmp_line);
workplace->queue_draw();
- } else {
+ } else if (detect_click_position(event->x, event->y) == OUT) {
tmp_line.logic = workplace->get_logic_item(CItem::gate_id);
tmp_line.store = this;
workplace->lista_lineas_out.push_back(tmp_line);
cistern_pty_wnd->txt_cistern_name->set_text( name );
cistern_pty_wnd->show();
}
+ CItem::logic_connect =false;
workplace->queue_draw();
return true;
}