From c6c564d38545100623d7a3005d270faa09b06fd4 Mon Sep 17 00:00:00 2001 From: HomeWorld Date: Sun, 31 Oct 2010 20:31:32 +0200 Subject: [PATCH] Don't start animation before we show the control --- gui/shipBrowser.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gui/shipBrowser.py b/gui/shipBrowser.py index cf847a1fc..4f6fe8521 100644 --- a/gui/shipBrowser.py +++ b/gui/shipBrowser.py @@ -734,14 +734,13 @@ class ListPane (wx.ScrolledWindow): def ShowLoading(self, mode = True): if mode: - self.animCtrl.Play() aweight,aheight = self.animCtrl.GetSize() cweight,cheight = self.GetSize() ax = (cweight - aweight)/2 ay = (cheight - aheight)/2 self.animCtrl.SetPosition((ax,ay)) - self.animCtrl.Show() + self.animCtrl.Play() else: self.animCtrl.Stop() self.animCtrl.Hide()