From e5189fd3aa4a0a52c3860707b07703cbf670b3fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludger=20K=C3=BCperkoch?= Date: Fri, 28 Apr 2017 16:01:31 +0200 Subject: [PATCH] Disable additional buttons when overview plot is cleared --- QtPyLoT.py | 2 ++ pylot/RELEASE-VERSION | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/QtPyLoT.py b/QtPyLoT.py index 060af82a..7a92bc8d 100755 --- a/QtPyLoT.py +++ b/QtPyLoT.py @@ -963,6 +963,8 @@ class MainWindow(QMainWindow): def clearWaveformDataPlot(self): self.disconnectWFplotEvents() self.dataPlot.getAxes().cla() + self.loadlocationaction.setEnabled(False) + self.saveProjectAction.setEnabled(False) self.auto_pick.setEnabled(False) self.z_action.setEnabled(False) self.e_action.setEnabled(False) diff --git a/pylot/RELEASE-VERSION b/pylot/RELEASE-VERSION index 52593f46..fcebac11 100644 --- a/pylot/RELEASE-VERSION +++ b/pylot/RELEASE-VERSION @@ -1 +1 @@ -3129-dirty +94bf-dirty