Merge remote-tracking branch 'origin/pr/4342'
This commit is contained in:
commit
e33d582764
@ -111,8 +111,11 @@ class HintLabel(QLabel):
|
|||||||
unmatched = html.escape(unmatched)
|
unmatched = html.escape(unmatched)
|
||||||
|
|
||||||
match_color = html.escape(config.val.colors.hints.match.fg)
|
match_color = html.escape(config.val.colors.hints.match.fg)
|
||||||
|
if matched:
|
||||||
self.setText('<font color="{}">{}</font>{}'.format(
|
self.setText('<font color="{}">{}</font>{}'.format(
|
||||||
match_color, matched, unmatched))
|
match_color, matched, unmatched))
|
||||||
|
else:
|
||||||
|
self.setText(unmatched)
|
||||||
self.adjustSize()
|
self.adjustSize()
|
||||||
|
|
||||||
@pyqtSlot()
|
@pyqtSlot()
|
||||||
|
Loading…
Reference in New Issue
Block a user