Fixed a horrible crash (on wxgtk)

This commit is contained in:
HomeWorld
2010-10-27 12:45:37 +03:00
parent 5268d264a0
commit 702ca7d8d4

View File

@@ -253,8 +253,8 @@ class HeaderPane (wx.Panel):
def editLostFocus(self, event = None):
self.spanel.Show(False)
if self.menu:
self.menu.Destroy()
# if self.menu:
# self.menu.Destroy()
stxt = self.search.GetValue()
if stxt not in self.recentSearches: