diff --git a/wxPython/wxPython/tools/XRCed/tools.py b/wxPython/wxPython/tools/XRCed/tools.py index 718385ed99..5cca5d282b 100644 --- a/wxPython/wxPython/tools/XRCed/tools.py +++ b/wxPython/wxPython/tools/XRCed/tools.py @@ -178,6 +178,7 @@ class Tools(wxPanel): # Update interface def UpdateUI(self): + if not self.IsShown(): return # Update status bar pullDownMenu = g.pullDownMenu tree = g.tree