summaryrefslogtreecommitdiffstats
path: root/Lib/lib-tk/SimpleDialog.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/lib-tk/SimpleDialog.py')
-rw-r--r--Lib/lib-tk/SimpleDialog.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/lib-tk/SimpleDialog.py b/Lib/lib-tk/SimpleDialog.py
index bb63a8d..cb08318 100644
--- a/Lib/lib-tk/SimpleDialog.py
+++ b/Lib/lib-tk/SimpleDialog.py
@@ -64,6 +64,7 @@ class SimpleDialog:
widget.deiconify() # Become visible at the desired location
def go(self):
+ self.root.wait_visibility()
self.root.grab_set()
self.root.mainloop()
self.root.destroy()