Case insensitive HL
This commit is contained in:
parent
902cfd9056
commit
356dd4b5ec
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ class Room(TextBuffer):
|
||||||
"""
|
"""
|
||||||
color = theme.COLOR_NORMAL_TEXT
|
color = theme.COLOR_NORMAL_TEXT
|
||||||
if not time and nickname and nickname != self.own_nick and self.joined:
|
if not time and nickname and nickname != self.own_nick and self.joined:
|
||||||
if self.own_nick in txt:
|
if self.own_nick.lower() in txt.lower():
|
||||||
self.set_color_state(theme.COLOR_TAB_HIGHLIGHT)
|
self.set_color_state(theme.COLOR_TAB_HIGHLIGHT)
|
||||||
color = theme.COLOR_HIGHLIGHT_TEXT
|
color = theme.COLOR_HIGHLIGHT_TEXT
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue