Commit 9e6301c8 authored by Grumbel's avatar Grumbel

Removed manual call to Gtk::Main::quit()

Gtk::Application seems to close itself automatically when no windows
are left.
parent 410ac8f7
......@@ -98,11 +98,6 @@ Main::on_dialog_hide(Gtk::Dialog* dialog)
{
dialogs.erase(std::remove(dialogs.begin(), dialogs.end(), dialog), dialogs.end());
delete dialog;
if (dialogs.empty())
{
Gtk::Main::quit();
}
}
int
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment