fix: draw dialog outside of init

This commit is contained in:
aclist committed 2026-08-20 14:05:44 +09:00
1 parent ec004aad5d
commit e7ff025605
8 files changed
+10 -3

No files matched your search

+2
View File
@@ -263,6 +263,7 @@ class Controller(GObject.GObject):
self.open_page(NotebookPage.LOG)
except Exception as e:
dialog = ExceptionDialog(self, str(e))
dialog.show_all()
dialog.run()
def select_colorized(self) -> None:
@@ -296,6 +297,7 @@ class Controller(GObject.GObject):
write_diagnostic(self.prefs.paths.config, file)
except Exception as e:
dialog = ExceptionDialog(self, str(e))
dialog.show_all()
dialog.run()
def update_steam_api_key(self, text: str) -> None: