Do not count wildcards as search symbols when checking character limitations

This commit is contained in:
DarkPhoenix
2011-07-28 19:47:33 +04:00
parent f7895733dc
commit 7f35f8f4e9
2 changed files with 7 additions and 3 deletions

View File

@@ -367,7 +367,9 @@ class NavigationPanel(SFItem.SFBrowserItem):
def OnScheduleSearch(self, event):
search = self.BrowserSearchBox.GetValue()
if len(search) < 3 and len(search) >= 0:
# Make sure we do not count wildcard as search symbol
realsearch = search.replace("*", "")
if len(realsearch) < 3 and len(realsearch) >= 0:
if self.inSearch == True:
self.inSearch = False
if len(self.shipBrowser.browseHist) > 0: