Compare commits

..

3 Commits

Author SHA1 Message Date
nikolaizombie1
bfa12c25ae
Merge 050eba6e34 into 3cb3ef6a79 2024-06-10 15:02:23 +02:00
Roman
3cb3ef6a79
Merge pull request #60 from bitSheriff/feature/quitWithESC
Quit the Appication with ESC
2024-06-10 06:53:13 -04:00
bitSheriff
9c4ae6a717 quit the application with ESC 2024-06-10 12:42:28 +02:00

View File

@ -512,7 +512,7 @@ class App(Gtk.Window):
def on_key_pressed(self, widget, event) -> None:
"""Process various key binding"""
if event.keyval == Gdk.KEY_q:
if (event.keyval == Gdk.KEY_q) or (event.keyval == Gdk.KEY_Escape):
Gtk.main_quit()
elif event.keyval == Gdk.KEY_r: