Corrected the start path for the file dialog of the API generation configuration dialog.

Mon, 20 Apr 2015 19:09:41 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 20 Apr 2015 19:09:41 +0200
changeset 4223
fafc5c2033f1
parent 4222
1db92cbf62c9
child 4225
fbb20e09ce9d

Corrected the start path for the file dialog of the API generation configuration dialog.

Plugins/DocumentationPlugins/Ericapi/EricapiConfigDialog.py file | annotate | diff | comparison | revisions
--- a/Plugins/DocumentationPlugins/Ericapi/EricapiConfigDialog.py	Sat Apr 18 19:14:57 2015 +0200
+++ b/Plugins/DocumentationPlugins/Ericapi/EricapiConfigDialog.py	Mon Apr 20 19:09:41 2015 +0200
@@ -190,7 +190,10 @@
         """
         startFile = Utilities.fromNativeSeparators(self.outputFileEdit.text())
         if not startFile:
-            startFile = self.project.getProjectName() + ".api"
+            startPath = Utilities.fromNativeSeparators(
+                self.project.getProjectPath())
+            startFile = (startPath + "/" +
+                         self.project.getProjectName() + ".api")
         filename = E5FileDialog.getSaveFileName(
             self,
             self.tr("Select output file"),

eric ide

mercurial