dabo Commit
Revision 4175
Date: 2008-06-21 05:35:04 -0700 (Sat, 21 Jun 2008)
Author: Ed
Trac: http://svn.dabodev.com/trac/dabo/changeset/4175
Changed:
U trunk/dabo/ui/uiwx/uiApp.py
Log:
When calling the PreferenceDialog, set the ActiveForm as the dialog's Parent.
Diff:
Modified: trunk/dabo/ui/uiwx/uiApp.py
===================================================================
--- trunk/dabo/ui/uiwx/uiApp.py 2008-06-21 12:34:23 UTC (rev 4174)
+++ trunk/dabo/ui/uiwx/uiApp.py 2008-06-21 12:35:04 UTC (rev 4175)
@@ -528,7 +528,7 @@
af.onEditPreferences(evt)
except AttributeError:
if self.PreferenceDialogClass:
- dlgPref = self.PreferenceDialogClass()
+ dlgPref = self.PreferenceDialogClass(af)
if isinstance(dlgPref, PreferenceDialog):
if af:
af.fillPreferenceDialog(dlgPref)
_______________________________________________
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]