[bugfix] workaround: if datastructure not set
This commit is contained in:
parent
1862b6d6e1
commit
b1a12bf666
@ -173,6 +173,8 @@ class MainWindow(QMainWindow):
|
||||
self.fnames = None
|
||||
self._stime = None
|
||||
structure_setting = settings.value("data/Structure", "PILOT")
|
||||
if not structure_setting:
|
||||
structure_setting = 'PILOT'
|
||||
self.dataStructure = DATASTRUCTURE[structure_setting]()
|
||||
self.seismicPhase = str(settings.value("phase", "P"))
|
||||
if settings.value("data/dataRoot", None) is None:
|
||||
|
Loading…
Reference in New Issue
Block a user