226 |
226 |
227 @pyqtSlot() |
227 @pyqtSlot() |
228 def on_mainscriptPicker_aboutToShowPathPickerDialog(self): |
228 def on_mainscriptPicker_aboutToShowPathPickerDialog(self): |
229 """ |
229 """ |
230 Private slot to perform actions before the main script selection dialog |
230 Private slot to perform actions before the main script selection dialog |
231 is shown. |
231 is shown. |
232 """ |
232 """ |
233 path = self.dirPicker.text() |
233 path = self.dirPicker.text() |
234 if not path: |
234 if not path: |
235 path = QDir.currentPath() |
235 path = QDir.currentPath() |
236 self.mainscriptPicker.setDefaultDirectory(path) |
236 self.mainscriptPicker.setDefaultDirectory(path) |