Bugfix: Fixed File>Exit

This commit is contained in:
Joel Holdsworth 2009-02-04 17:14:57 +00:00
parent 2d8a1d7d59
commit a0cb947880

View file

@ -153,7 +153,9 @@ Actions::on_menu_file_render()
void void
Actions::on_menu_file_quit() Actions::on_menu_file_quit()
{ {
workspaceWindow.hide(); // Closes the main window to stop the Gtk::Main::run(). Main *main = Main::instance();
REQUIRE(main);
main->quit();
} }
/* ===== Edit Menu Event Handlers ===== */ /* ===== Edit Menu Event Handlers ===== */