Plugins/DocumentationPlugins/Ericapi/EricapiConfigDialog.py

changeset 4223
fafc5c2033f1
parent 4021
195a471c327b
child 4593
cc745fa6c914
child 4632
ca310db386ed
equal deleted inserted replaced
4222:1db92cbf62c9 4223:fafc5c2033f1
188 It displays a file selection dialog to 188 It displays a file selection dialog to
189 select the file the api is written to. 189 select the file the api is written to.
190 """ 190 """
191 startFile = Utilities.fromNativeSeparators(self.outputFileEdit.text()) 191 startFile = Utilities.fromNativeSeparators(self.outputFileEdit.text())
192 if not startFile: 192 if not startFile:
193 startFile = self.project.getProjectName() + ".api" 193 startPath = Utilities.fromNativeSeparators(
194 self.project.getProjectPath())
195 startFile = (startPath + "/" +
196 self.project.getProjectName() + ".api")
194 filename = E5FileDialog.getSaveFileName( 197 filename = E5FileDialog.getSaveFileName(
195 self, 198 self,
196 self.tr("Select output file"), 199 self.tr("Select output file"),
197 startFile, 200 startFile,
198 self.tr("API files (*.api);;All files (*)")) 201 self.tr("API files (*.api);;All files (*)"))

eric ide

mercurial