pygui: added simple error dialog call to app, also added blocking option for some error dialogs when needed

This commit is contained in:
Blake Harnden 2021-02-19 10:35:59 -08:00
parent 2387812a76
commit b163b06596
4 changed files with 37 additions and 21 deletions

View file

@ -310,7 +310,9 @@ class Toolbar(ttk.Frame):
enable_buttons(self.design_frame, enabled=True)
if exceptions:
message = "\n".join(exceptions)
self.app.show_error("Start Session Error", message)
self.app.show_exception_data(
"Start Exception", "Session failed to start", message
)
def set_runtime(self) -> None:
enable_buttons(self.runtime_frame, enabled=True)