[bugfix] no more zoom reset entering picking mode
This commit is contained in:
parent
151900753a
commit
e0e106d898
@ -1607,7 +1607,6 @@ class PickDlg(QDialog):
|
|||||||
def activatePicking(self):
|
def activatePicking(self):
|
||||||
self.multicompfig.set_frame_color('yellow')
|
self.multicompfig.set_frame_color('yellow')
|
||||||
self.multicompfig.set_frame_linewidth(1.5)
|
self.multicompfig.set_frame_linewidth(1.5)
|
||||||
self.resetZoom()
|
|
||||||
if self.zoomAction.isChecked():
|
if self.zoomAction.isChecked():
|
||||||
self.zoomAction.trigger()
|
self.zoomAction.trigger()
|
||||||
self.multicompfig.disconnectEvents()
|
self.multicompfig.disconnectEvents()
|
||||||
@ -2109,7 +2108,9 @@ class PickDlg(QDialog):
|
|||||||
def filterWFData(self):
|
def filterWFData(self):
|
||||||
if self.pick_block:
|
if self.pick_block:
|
||||||
return
|
return
|
||||||
self.multicompfig.updateCurrentLimits()
|
self.cur_xlim = self.multicompfig.axes[0].get_xlim()
|
||||||
|
self.cur_ylim = self.multicompfig.axes[0].get_ylim()
|
||||||
|
#self.multicompfig.updateCurrentLimits()
|
||||||
data = self.getWFData().copy()
|
data = self.getWFData().copy()
|
||||||
old_title = self.multicompfig.axes[0].get_title()
|
old_title = self.multicompfig.axes[0].get_title()
|
||||||
title = None
|
title = None
|
||||||
|
Loading…
Reference in New Issue
Block a user