X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/2695534342641710721ae3d842915094b384f9db..0aacdcf95cf6d4f33a2201160d472ab84148d52b:/Constructor/constructor.cpp?ds=inline diff --git a/Constructor/constructor.cpp b/Constructor/constructor.cpp index e2fddbf..af1263b 100644 --- a/Constructor/constructor.cpp +++ b/Constructor/constructor.cpp @@ -7,10 +7,10 @@ Constructor::Constructor(BaseObjectType* cobject, const Glib::RefPtrget_widget("btn_canio", btn_canio); refGlade->get_widget("btn_codo", btn_codo); @@ -92,6 +92,7 @@ void Constructor::on_btn_tanque_drag_get(const Glib::RefPtr& c void Constructor::on_main_menu_quit() { + delete this; Gtk::Main::quit(); //hide(); }