Do not refresh the list if it isnt the case

This commit is contained in:
HomeWorld
2010-10-31 21:43:22 +02:00
parent d8169378c9
commit e8ee4b940b

View File

@@ -69,7 +69,9 @@ class ShipBrowser(wx.Panel):
self.stage1(None)
def RefreshList(self, event):
self.lpane.RefreshList(True)
stage = self.GetActiveStage()
if stage == 3 or stage == 4:
self.lpane.RefreshList(True)
event.Skip()
def SizeRefreshList(self, event):