Tricky is it fittingview or is it notebook content

This commit is contained in:
HomeWorld
2010-11-05 16:34:36 +02:00
parent 0be84efc14
commit a62eee8f9b

View File

@@ -1560,9 +1560,9 @@ class FitItem(wx.Window):
cfitWnd = self.mainFrame.fitMultiSwitch.GetCurrentPage()
if targetWnd == cfitWnd:
wx.PostEvent(self.mainFrame, FitSelected(fitID=self.fitID))
elif targetWnd == cfitWnd.view:
wx.PostEvent(self.mainFrame, FitSelected(fitID=self.fitID))
elif targetWnd == msWnd:
if self.mainFrame.getActiveFit():