Tricky is it fittingview or is it notebook content
This commit is contained in:
@@ -1560,9 +1560,9 @@ class FitItem(wx.Window):
|
|||||||
cfitWnd = self.mainFrame.fitMultiSwitch.GetCurrentPage()
|
cfitWnd = self.mainFrame.fitMultiSwitch.GetCurrentPage()
|
||||||
|
|
||||||
if targetWnd == cfitWnd:
|
if targetWnd == cfitWnd:
|
||||||
|
|
||||||
wx.PostEvent(self.mainFrame, FitSelected(fitID=self.fitID))
|
wx.PostEvent(self.mainFrame, FitSelected(fitID=self.fitID))
|
||||||
|
elif targetWnd == cfitWnd.view:
|
||||||
|
wx.PostEvent(self.mainFrame, FitSelected(fitID=self.fitID))
|
||||||
elif targetWnd == msWnd:
|
elif targetWnd == msWnd:
|
||||||
|
|
||||||
if self.mainFrame.getActiveFit():
|
if self.mainFrame.getActiveFit():
|
||||||
|
|||||||
Reference in New Issue
Block a user