[add] rootpath will be applied to QSettings as well
This commit is contained in:
parent
30e2e1df84
commit
53089a3279
@ -818,6 +818,10 @@ class MainWindow(QMainWindow):
|
|||||||
}
|
}
|
||||||
print('Warning: Could not automatically init folder structure. ({})'.format(e))
|
print('Warning: Could not automatically init folder structure. ({})'.format(e))
|
||||||
|
|
||||||
|
settings = QSettings()
|
||||||
|
settings.setValue("data/dataRoot", dirs['rootpath'])
|
||||||
|
settings.sync()
|
||||||
|
|
||||||
if not self.project.eventlist:
|
if not self.project.eventlist:
|
||||||
#init parameter object
|
#init parameter object
|
||||||
self.setParameter(show=False)
|
self.setParameter(show=False)
|
||||||
|
Loading…
Reference in New Issue
Block a user