new attribute dispComponent added to the MainWindow class to control the displayed component
This commit is contained in:
parent
401c09d0b4
commit
bc87c12cfa
@ -68,6 +68,7 @@ class MainWindow(QMainWindow):
|
|||||||
self.setWindowTitle("PyLoT - do seismic processing the python way")
|
self.setWindowTitle("PyLoT - do seismic processing the python way")
|
||||||
self.setWindowIcon(QIcon(":/icon.ico"))
|
self.setWindowIcon(QIcon(":/icon.ico"))
|
||||||
self.seismicPhase = str(settings.value("phase", "P"))
|
self.seismicPhase = str(settings.value("phase", "P"))
|
||||||
|
self.dispComponent = str(settings.value("plotting/dispComponent", "Z"))
|
||||||
if settings.value("data/dataRoot", None) is None:
|
if settings.value("data/dataRoot", None) is None:
|
||||||
dirname = QFileDialog().getExistingDirectory(
|
dirname = QFileDialog().getExistingDirectory(
|
||||||
caption='Choose data root ...')
|
caption='Choose data root ...')
|
||||||
|
Loading…
Reference in New Issue
Block a user