pygui most dialogs are modal, default dialogs to modal

This commit is contained in:
Blake Harnden 2020-05-01 19:56:57 -07:00
parent ea4271d7cb
commit 9d1f5cfcc6
31 changed files with 37 additions and 45 deletions

View file

@ -13,7 +13,7 @@ if TYPE_CHECKING:
class HookDialog(Dialog):
def __init__(self, master: Any, app: "Application"):
super().__init__(master, app, "Hook", modal=True)
super().__init__(master, app, "Hook")
self.name = tk.StringVar()
self.codetext = None
self.hook = core_pb2.Hook()
@ -89,7 +89,7 @@ class HookDialog(Dialog):
class HooksDialog(Dialog):
def __init__(self, master: "Application", app: "Application"):
super().__init__(master, app, "Hooks", modal=True)
super().__init__(master, app, "Hooks")
self.listbox = None
self.edit_button = None
self.delete_button = None