chore: clear typehinting errors

This commit is contained in:
aclist committed 2026-05-15 19:53:00 +09:00
1 parent cacfab35bf
commit 2d265c4b9b
19 files changed
+74 -44

No files matched your search

+3 -1
View File
@@ -205,7 +205,9 @@ class ExceptionDialog(GenericDialog):
self.add_button("OK", Gtk.ResponseType.OK)
self.show_all()
self.action_area.get_children()[1].grab_focus()
self.ok = self.get_widget_for_response(Gtk.ResponseType.OK)
if self.ok is not None:
self.ok.grab_focus()
self.connect("response", self._on_response)
def get_trace(self) -> str: