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

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

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 20 Apr 2015 19:09:41 +0200
branch
6_0_x
changeset 4224
c920cf0a0940
parent 4215
31c7a83352ed
child 4226
ebb5b03f0d30

Corrected the start path for the file dialog of the API generation configuration dialog.
(grafted from fafc5c2033f199809a7d106b1585ba4065191867)

Plugins/DocumentationPlugins/Ericapi/EricapiConfigDialog.py file | annotate | diff | comparison | revisions
--- a/Plugins/DocumentationPlugins/Ericapi/EricapiConfigDialog.py	Sun Apr 12 16:59:06 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