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 (*)")) |