[change] autoPyLoT output folder automatically set to event folder
This commit is contained in:
parent
57295c4a17
commit
4f1541ce4e
@ -1877,8 +1877,8 @@ class MainWindow(QMainWindow):
|
||||
self.tap.fill_tabs(picked=True)
|
||||
|
||||
def autoPick(self):
|
||||
self.autosave = QFileDialog().getExistingDirectory(caption='Select autoPyLoT output')
|
||||
if not os.path.exists(self.autosave):
|
||||
autosave = self.get_current_event_path()
|
||||
if not os.path.exists(autosave):
|
||||
QMessageBox.warning(self, "PyLoT Warning",
|
||||
"No autoPyLoT output declared!")
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user