[change] default open path for load_data is event folder
This commit is contained in:
parent
581a85b81f
commit
c07642653d
@ -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())
|
||||||
|
Loading…
Reference in New Issue
Block a user