From 8d36393e36f422a92bb0765e6d18764bf99fd8ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludger=20K=C3=BCperkoch?= Date: Wed, 16 Aug 2017 10:52:46 +0200 Subject: [PATCH] [Bugfix] Enable compare button only, if manual as well as automatic picks are available. --- QtPyLoT.py | 1 + 1 file changed, 1 insertion(+) diff --git a/QtPyLoT.py b/QtPyLoT.py index c3e01ac7..f20eb6ad 100755 --- a/QtPyLoT.py +++ b/QtPyLoT.py @@ -1476,6 +1476,7 @@ class MainWindow(QMainWindow): self.locateEvent.setEnabled(True) if event.pylot_autopicks: self.drawPicks(picktype='auto') + if event.pylot_picks and event.pylot_autopicks: self.compare_action.setEnabled(True) self.draw()