chore: bump version
Mirror to Codeberg / mirror-to-codeberg (push) Has been cancelled

This commit is contained in:
aclist committed 2025-07-30 02:25:29 +09:00
1 parent 12b82cd1dd
commit 43f32638f8
4 files changed
+15 -4

No files matched your search

+8 -1
View File
@@ -1007,7 +1007,7 @@ class OuterWindow(Gtk.Window):
if not IS_STEAM_DECK:
self.set_titlebar(self.hb)
self.connect("delete-event", self.halt_proc_and_quit)
self.connect("delete-event", self._on_delete_event)
self.connect("key-press-event", self._on_keypress)
self.set_border_width(10)
@@ -1068,6 +1068,13 @@ class OuterWindow(Gtk.Window):
logger.info(f"Restoring window size to {w},{h}")
self.set_default_size(w, h)
def _on_delete_event(
self,
window: "OuterWindow",
event: Gdk.EventKey
) -> None:
self.halt_proc_and_quit()
def halt_proc_and_quit(self) -> None:
App.grid.terminate_treeview_process()
save_res_and_quit()