aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xlib/isodumper.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/isodumper.py b/lib/isodumper.py
index 6a73658..987b82f 100755
--- a/lib/isodumper.py
+++ b/lib/isodumper.py
@@ -808,6 +808,13 @@ if __name__ == "__main__":
import sys
user=sys.argv[1]
app = IsoDumper(user)
- app.handleevent()
+ try:
+ app.handleevent()
+ except:
+ yui.YDialog.deleteAllDialogs()
+ finally:
+ # next line seems to be a workaround to prevent the qt-app from crashing
+ # see https://github.com/libyui/libyui-qt/issues/41
+ yui.YUILoader.deleteUI()