[add] rootpath will be applied to QSettings as well

This commit is contained in:
Marcel Paffrath 2017-06-26 18:02:07 +02:00
parent 30e2e1df84
commit 53089a3279

View File

@ -818,6 +818,10 @@ class MainWindow(QMainWindow):
}
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:
#init parameter object
self.setParameter(show=False)