[bugfix] reconnect interactive zoom after rectangle zoom
This commit is contained in:
parent
7be9fc28fa
commit
440c2c7bf3
@ -1 +1 @@
|
|||||||
a81c9-dirty
|
7be9-dirty
|
||||||
|
@ -1283,7 +1283,7 @@ class PickDlg(QDialog):
|
|||||||
tip='Zoom into waveform',
|
tip='Zoom into waveform',
|
||||||
checkable=True)
|
checkable=True)
|
||||||
self.resetZoomAction = createAction(parent=self, text='Home',
|
self.resetZoomAction = createAction(parent=self, text='Home',
|
||||||
slot=self.multicompfig.resetZoom, icon=home_icon,
|
slot=self.resetZoom, icon=home_icon,
|
||||||
tip='Reset zoom to original limits')
|
tip='Reset zoom to original limits')
|
||||||
self.resetPicksAction = createAction(parent=self, text='Delete Picks',
|
self.resetPicksAction = createAction(parent=self, text='Delete Picks',
|
||||||
slot=self.delPicks, icon=del_icon,
|
slot=self.delPicks, icon=del_icon,
|
||||||
@ -2240,6 +2240,7 @@ class PickDlg(QDialog):
|
|||||||
ax = self.multicompfig.axes[0]
|
ax = self.multicompfig.axes[0]
|
||||||
self.setXLims(self.multicompfig.getGlobalLimits(ax, 'x'))
|
self.setXLims(self.multicompfig.getGlobalLimits(ax, 'x'))
|
||||||
self.setYLims(self.multicompfig.getGlobalLimits(ax, 'y'))
|
self.setYLims(self.multicompfig.getGlobalLimits(ax, 'y'))
|
||||||
|
self.multicompfig.connectEvents()
|
||||||
|
|
||||||
def setPlotLabels(self):
|
def setPlotLabels(self):
|
||||||
|
|
||||||
@ -2262,6 +2263,7 @@ class PickDlg(QDialog):
|
|||||||
self.figToolBar.zoom()
|
self.figToolBar.zoom()
|
||||||
else:
|
else:
|
||||||
self.figToolBar.zoom()
|
self.figToolBar.zoom()
|
||||||
|
self.multicompfig.connectEvents()
|
||||||
|
|
||||||
def draw(self):
|
def draw(self):
|
||||||
self.multicompfig.draw()
|
self.multicompfig.draw()
|
||||||
|
Loading…
Reference in New Issue
Block a user