From a383f8c769e04e99920fd67fb87ae75e6450f300 Mon Sep 17 00:00:00 2001 From: Sebastian Wehling-Benatelli Date: Thu, 25 Jun 2015 10:31:55 +0200 Subject: [PATCH] [bugfix] labels are now drawn correctly after picking an onset --- pylot/core/util/widgets.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pylot/core/util/widgets.py b/pylot/core/util/widgets.py index 9eec8066..f7a460e3 100644 --- a/pylot/core/util/widgets.py +++ b/pylot/core/util/widgets.py @@ -505,8 +505,7 @@ class PickDlg(QDialog): self.disconnectPressEvent() self.zoomAction.setEnabled(True) self.selectPhase.setCurrentIndex(-1) - self.getPlotWidget().setXLims(self.getXLims()) - self.getPlotWidget().setYLims(self.getYLims()) + self.setPlotLabels() def drawPicks(self, phase=None): # plotting picks