Fix always asking for pending changes on exit
authorRicardo Mones <ricardo@mones.org>
Thu, 8 Nov 2018 18:12:19 +0000 (19:12 +0100)
committerRicardo Mones <ricardo@mones.org>
Thu, 8 Nov 2018 18:12:19 +0000 (19:12 +0100)
Introduced in previous commit. Let's re-initialize the counter just
before showing GUI, to discard any changes the initialization of
undefined preferences with default values could have made.

clawsker

index 45bb2e4dc13bfeb28125e98f8948c2ddd31457fe..f208c46a4599f6819057bf074942ec719170da18 100755 (executable)
--- a/clawsker
+++ b/clawsker
@@ -2858,5 +2858,6 @@ $main_window->set_title ($xl::s{win_title});
 $main_window->set_icon_list (get_app_icons ());
 $main_window->add ($box);
 $main_window->show_all;
+$MODIFIED = 0;
 Gtk2->main;