Skip to content

Commit

Permalink
Application: Close the window on quit, don't destroy it
Browse files Browse the repository at this point in the history
  • Loading branch information
leolost2605 committed Jul 18, 2024
1 parent c0e1cc2 commit 9b6ea35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Application.vala
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public class AppCenter.App : Gtk.Application {
var quit_action = new SimpleAction ("quit", null);
quit_action.activate.connect (() => {
if (active_window != null) {
active_window.destroy ();
active_window.close ();
}
});

Expand Down

0 comments on commit 9b6ea35

Please sign in to comment.