We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf4b48d commit 28a7a08Copy full SHA for 28a7a08
src/MainWindow.vala
@@ -84,7 +84,12 @@ public class Badger.MainWindow : Gtk.Window {
84
85
// Avoid a bug whence reopened windows cannot be closed
86
private bool before_destroy () {
87
+ debug ("Window closed!");
88
hide ();
89
+ if (!settings.get_boolean ("all")) {
90
+ debug ("All reminders are disabled, Badger will now go to sleep");
91
+ application.quit ();
92
+ };
93
return true;
94
}
95
0 commit comments