pygui some cleanup for dialog constructors to avoid passing duplicate parameters in most cases

This commit is contained in:
Blake Harnden 2020-05-04 22:50:59 -07:00
parent 185c6736b3
commit 1d620a0b17
42 changed files with 143 additions and 209 deletions

View file

@ -134,7 +134,7 @@ class Application(ttk.Frame):
self.show_error(title, str(e))
def show_error(self, title: str, message: str) -> None:
self.after(0, lambda: ErrorDialog(self, self, title, message).show())
self.after(0, lambda: ErrorDialog(self, title, message).show())
def on_closing(self):
self.menubar.prompt_save_running_session(True)