dabo Commit
Revision 6676
Date: 2011-07-07 16:46:36 -0700 (Thu, 07 Jul 2011)
Author: Jacekk
Trac: http://trac.dabodev.com/changeset/6676
Changed:
U trunk/dabo/ui/dialogs/Wizard.py
Log:
Fix latest commit missing code.
Diff:
Modified: trunk/dabo/ui/dialogs/Wizard.py
===================================================================
--- trunk/dabo/ui/dialogs/Wizard.py 2011-07-07 23:41:09 UTC (rev 6675)
+++ trunk/dabo/ui/dialogs/Wizard.py 2011-07-07 23:46:36 UTC (rev 6676)
@@ -161,7 +161,9 @@
# because it causes '' on GTK platform.
if self.Modal:
self.EndModal(action)
- else:
+ if self.Parent is None:
+ # Since this is a dialog, we need to explicitly remove
+ # it or the app will hang.
self.close(True)
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message:
http://leafe.com/archives/byMID/[email protected]