Skip to content

Commit

Permalink
Small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
hwdro committed Oct 27, 2010
1 parent 0162abd commit 0e1fcb0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gui/shipBrowser.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,8 @@ def editLostFocus(self, event = None):

stxt = self.search.GetValue()
if stxt not in self.recentSearches:
self.recentSearches.append(stxt)
if stxt:
self.recentSearches.append(stxt)
if len(self.recentSearches) >5:
self.recentSearches.remove(self.recentSearches[0])
self.search.SetValue("")
Expand Down
Binary file modified icons/fit_rename_small.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0e1fcb0

Please sign in to comment.