From bc87c12cfaed2154a23cfc4f185ec0f40fecd97f Mon Sep 17 00:00:00 2001 From: Sebastian Wehling-Benatelli Date: Wed, 4 Feb 2015 14:50:49 +0100 Subject: [PATCH] new attribute dispComponent added to the MainWindow class to control the displayed component --- QtPyLoT.py | 1 + 1 file changed, 1 insertion(+) diff --git a/QtPyLoT.py b/QtPyLoT.py index 17af3dea..27bdb489 100755 --- a/QtPyLoT.py +++ b/QtPyLoT.py @@ -68,6 +68,7 @@ class MainWindow(QMainWindow): self.setWindowTitle("PyLoT - do seismic processing the python way") self.setWindowIcon(QIcon(":/icon.ico")) self.seismicPhase = str(settings.value("phase", "P")) + self.dispComponent = str(settings.value("plotting/dispComponent", "Z")) if settings.value("data/dataRoot", None) is None: dirname = QFileDialog().getExistingDirectory( caption='Choose data root ...')