Fix un-hiding of hints.
This commit is contained in:
parent
b00e00db37
commit
d0b5f2087a
@ -701,7 +701,7 @@ class HintManager(QObject):
|
|||||||
str(elems.elem).lower().startswith(filterstr)):
|
str(elems.elem).lower().startswith(filterstr)):
|
||||||
if self._is_hidden(elems.label):
|
if self._is_hidden(elems.label):
|
||||||
# hidden element which matches again -> unhide it
|
# hidden element which matches again -> unhide it
|
||||||
elems.label.setStyleProperty('display', 'none')
|
elems.label.setStyleProperty('display', 'inline')
|
||||||
else:
|
else:
|
||||||
# element doesn't match anymore -> hide it
|
# element doesn't match anymore -> hide it
|
||||||
elems.label.setStyleProperty('display', 'none')
|
elems.label.setStyleProperty('display', 'none')
|
||||||
|
Loading…
Reference in New Issue
Block a user