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