From 4f1541ce4e4ee5d91097ff36af4e1b0dc13dd0e9 Mon Sep 17 00:00:00 2001 From: marcel Date: Mon, 7 Aug 2017 13:35:05 +0200 Subject: [PATCH] [change] autoPyLoT output folder automatically set to event folder --- QtPyLoT.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/QtPyLoT.py b/QtPyLoT.py index c9226beb..0fbf3792 100755 --- a/QtPyLoT.py +++ b/QtPyLoT.py @@ -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