From ec0d6ef9774f957d613a14635a577c6d701443fc Mon Sep 17 00:00:00 2001 From: HomeWorld Date: Thu, 28 Oct 2010 23:47:39 +0300 Subject: [PATCH] len(search) < 3 and len(search) > 0 is sane , lets keep it that way --- gui/shipBrowser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/shipBrowser.py b/gui/shipBrowser.py index 2c7f6b6de..448a1f161 100644 --- a/gui/shipBrowser.py +++ b/gui/shipBrowser.py @@ -322,7 +322,7 @@ class HeaderPane (wx.Panel): if self.inPopup: return search = self.search.GetValue() - if len(search) < 3: + if len(search) < 3 and len(search) > 0: if self.inSearch == True: self.inSearch = False if len(self.shipBrowser.browseHist) > 0: