From a62eee8f9bc76607abb3f43ae2a26548307f8d4c Mon Sep 17 00:00:00 2001 From: HomeWorld Date: Fri, 5 Nov 2010 16:34:36 +0200 Subject: [PATCH] Tricky is it fittingview or is it notebook content --- gui/shipBrowser.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/shipBrowser.py b/gui/shipBrowser.py index a9e873f60..11f2ab6ec 100644 --- a/gui/shipBrowser.py +++ b/gui/shipBrowser.py @@ -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():