Editor: little change to the "Save As" function to respect the path name of the file to be saved.

Sat, 03 Apr 2021 09:47:25 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 03 Apr 2021 09:47:25 +0200
changeset 8193
2aa8953a2145
parent 8192
e1157bd8b4c2
child 8194
b925628bf91f

Editor: little change to the "Save As" function to respect the path name of the file to be saved.

eric6/QScintilla/Editor.py file | annotate | diff | comparison | revisions
--- a/eric6/QScintilla/Editor.py	Fri Apr 02 18:13:12 2021 +0200
+++ b/eric6/QScintilla/Editor.py	Sat Apr 03 09:47:25 2021 +0200
@@ -3299,7 +3299,7 @@
                 self.project.startswithProjectPath(self.fileName)
             ):
                 path = os.path.dirname(self.fileName)
-            else:
+            elif not self.fileName:
                 path = self.project.getProjectPath()
         
         if not path and self.fileName:

eric ide

mercurial