[Bugfix] Enable compare button only, if manual as well as automatic picks are available.
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user