Fixed an issue with renaming a project file on Windows.

Thu, 10 Jun 2010 20:11:25 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 10 Jun 2010 20:11:25 +0200
changeset 337
22ae08988de7
parent 335
5ad648828e2e
child 342
360c4eb76d6c

Fixed an issue with renaming a project file on Windows.

Project/Project.py file | annotate | diff | comparison | revisions
--- a/Project/Project.py	Thu Jun 10 09:13:00 2010 +0200
+++ b/Project/Project.py	Thu Jun 10 20:11:25 2010 +0200
@@ -2005,6 +2005,7 @@
                 QFileDialog.Options(QFileDialog.DontConfirmOverwrite))
             if not newfn:
                 return False
+            newfn = Utilities.toNativeSeparators(newfn)
         
         if os.path.exists(newfn):
             canceled = QMessageBox.warning(None,

eric ide

mercurial