mirror of
https://github.com/aclist/dztui.git
synced 2026-11-01 07:32:44 +01:00
fix: draw dialog outside of init
This commit is contained in:
1 parent
ec004aad5d
commit
e7ff025605
8 files changed
+10
-3
No files matched your search
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user