Bugfix: Fixed File>Exit
This commit is contained in:
parent
2d8a1d7d59
commit
a0cb947880
1 changed files with 3 additions and 1 deletions
|
|
@ -153,7 +153,9 @@ Actions::on_menu_file_render()
|
|||
void
|
||||
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 ===== */
|
||||
|
|
|
|||
Loading…
Reference in a new issue