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

@ -17,7 +17,7 @@ SCALE_INTERVAL = 0.01
class PreferencesDialog(Dialog):
def __init__(self, master: "Application", app: "Application"):
super().__init__(master, app, "Preferences", modal=True)
super().__init__(master, app, "Preferences")
self.gui_scale = tk.DoubleVar(value=self.app.app_scale)
preferences = self.app.guiconfig["preferences"]
self.editor = tk.StringVar(value=preferences["editor"])