Skip to content

Commit

Permalink
application: Allow closing the window with ctrl+w
Browse files Browse the repository at this point in the history
  • Loading branch information
A6GibKm authored and bilelmoussaoui committed Dec 24, 2024
1 parent 32c6975 commit d6efa56
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ashpd-demo/src/application.rs
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ impl Application {
self.set_accels_for_action("app.dark-mode", &["<control>T"]);
self.set_accels_for_action("app.restart", &["<control>R"]);
self.set_accels_for_action("app.quit", &["<control>Q"]);
self.set_accels_for_action("window.close", &["<control>W"]);
self.set_accels_for_action("win.show-help-overlay", &["<control>question"]);
}

Expand Down

0 comments on commit d6efa56

Please sign in to comment.