pygui: added simple error dialog call to app, also added blocking option for some error dialogs when needed
This commit is contained in:
parent
2387812a76
commit
b163b06596
4 changed files with 37 additions and 21 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue