Author: johannes
Date: 2006-10-18 03:46:43 -0500 (Wed, 18 Oct 2006)
New Revision: 8840
Modified:
trunk/gnue-forms/src/uidrivers/qt3/widgets/form.py
Log:
Use the proper calling for modal forms
Modified: trunk/gnue-forms/src/uidrivers/qt3/widgets/form.py
===================================================================
--- trunk/gnue-forms/src/uidrivers/qt3/widgets/form.py 2006-10-18 08:43:20 UTC
(rev 8839)
+++ trunk/gnue-forms/src/uidrivers/qt3/widgets/form.py 2006-10-18 08:46:43 UTC
(rev 8840)
@@ -153,7 +153,9 @@
self._uiDriver.hide_splash()
if isinstance(self.main_window, qt.QDialog):
self.main_window.setModal(True)
- self.main_window.show()
+ self.main_window.exec_loop()
+ else:
+ self.main_window.show()
# -------------------------------------------------------------------------
_______________________________________________
commit-gnue mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-gnue