From c9329334cdc3dfd1e8061d011f53545c6e7c1217 Mon Sep 17 00:00:00 2001 From: HomeWorld Date: Wed, 3 Nov 2010 15:11:31 +0200 Subject: [PATCH] Do not refresh shipbrowser when it's in stage 1, so far there is nothing to be refreshed --- gui/shipBrowser.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gui/shipBrowser.py b/gui/shipBrowser.py index d7ccfb3cf..7a4a8727f 100644 --- a/gui/shipBrowser.py +++ b/gui/shipBrowser.py @@ -68,6 +68,8 @@ class ShipBrowser(wx.Panel): def RefreshContent(self): stage = self.GetActiveStage() + if stage == 1: + return stageData = self.GetStageData(stage) self.hpane.gotoStage(stage, stageData)