summaryrefslogtreecommitdiff
path: root/portato/gui/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'portato/gui/__init__.py')
-rw-r--r--portato/gui/__init__.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/portato/gui/__init__.py b/portato/gui/__init__.py
index e3f1172..0a584a8 100644
--- a/portato/gui/__init__.py
+++ b/portato/gui/__init__.py
@@ -27,9 +27,11 @@ def run ():
from .windows.main import MainWindow
try:
m = MainWindow(s)
- s.hide()
+ s.destroy()
+ del s
+
m.main()
except PreReqError, e:
error("Prerequisite not matched. Aborting.")
prereq_error_dialog(e)
- s.hide()
+ s.destroy()