Fix a color not going back to normal when adding a row in the BookmarksTab

This commit is contained in:
mathieui 2015-02-09 23:02:26 +01:00
parent 0e29714c95
commit b376cdb35e
No known key found for this signature in database
GPG key ID: C59F84CEEFD616E3

View file

@ -160,6 +160,7 @@ class BookmarksWin(Win):
BookmarkPasswordInput(bookmark),
BookmarkAutojoinWin(bookmark),
BookmarkMethodInput(bookmark)))
self.lines[self.current_input][self.current_horizontal_input].set_color(get_theme().COLOR_NORMAL_TEXT)
self.current_horizontal_input = 0
self.current_input = len(self.lines) - 1
if self.current_input - self.scroll_pos > self.height-1: