[change] default open path for load_data is event folder

This commit is contained in:
Marcel Paffrath 2017-06-26 14:08:17 +02:00
parent 581a85b81f
commit c07642653d

View File

@ -968,7 +968,7 @@ class MainWindow(QMainWindow):
caption = "Open an event file" caption = "Open an event file"
fname = QFileDialog().getOpenFileName(self, caption=caption, fname = QFileDialog().getOpenFileName(self, caption=caption,
filter=filt, filter=filt,
dir=self.getRoot()) dir=self.get_current_event_path())
fname = fname[0] fname = fname[0]
else: else:
fname = str(action.data().toString()) fname = str(action.data().toString())