dabo Commit
Revision 6138
Date: 2010-10-23 16:45:59 -0700 (Sat, 23 Oct 2010)
Author: Ed
Trac: http://trac.dabodev.com/changeset/6138

Changed:
U   trunk/dabo/ui/uiwx/dEditor.py

Log:
Fixed a bug when calling 'Save As' introduced in the changes earlier today.


Diff:
Modified: trunk/dabo/ui/uiwx/dEditor.py
===================================================================
--- trunk/dabo/ui/uiwx/dEditor.py       2010-10-23 19:03:47 UTC (rev 6137)
+++ trunk/dabo/ui/uiwx/dEditor.py       2010-10-23 23:45:59 UTC (rev 6138)
@@ -1374,7 +1374,7 @@
                return dabo.ui.areYouSure(s)
 
 
-       def promptForFileName(self, prompt=None, saveAs=False, path=None, 
multiple=False):
+       def promptForFileName(self, prompt=None, saveAs=False, path=None, 
**kwargs):
                """Prompt the user for a file name."""
                if prompt is None:
                        if multiple:
@@ -1394,7 +1394,7 @@
                else:
                        func = dabo.ui.getFile
                fname = func("py", "txt", "cdxml", "cnxml", "mnxml", "rfxml", 
"*", message=prompt,
-                               defaultPath=drct, multiple=multiple)
+                               defaultPath=drct, **kwargs)
                return fname
 
 



_______________________________________________
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]

Reply via email to