Merge branch 'jcpetkovich-flexible-hint-filtering'
This commit is contained in:
commit
8fee25491b
@ -57,6 +57,8 @@ Changed
|
|||||||
`$XDG_DATA_DIR`. Using a binary in `$PATH` won't work anymore with
|
`$XDG_DATA_DIR`. Using a binary in `$PATH` won't work anymore with
|
||||||
`--userscript`.
|
`--userscript`.
|
||||||
- New design for error pages
|
- New design for error pages
|
||||||
|
- Link filtering for hints now checks if the text is contained anywhere in
|
||||||
|
the link, and matches case-insensitively.
|
||||||
|
|
||||||
Fixed
|
Fixed
|
||||||
~~~~~
|
~~~~~
|
||||||
|
@ -178,6 +178,7 @@ Contributors, sorted by the number of commits in descending order:
|
|||||||
* Tim Harder
|
* Tim Harder
|
||||||
* Thiago Barroso Perrotta
|
* Thiago Barroso Perrotta
|
||||||
* Matthias Lisin
|
* Matthias Lisin
|
||||||
|
* Jean-Christophe Petkovich
|
||||||
* Helen Sherwood-Taylor
|
* Helen Sherwood-Taylor
|
||||||
* HalosGhost
|
* HalosGhost
|
||||||
* Gregor Pohl
|
* Gregor Pohl
|
||||||
|
@ -864,7 +864,7 @@ class HintManager(QObject):
|
|||||||
for elems in self._context.elems.values():
|
for elems in self._context.elems.values():
|
||||||
try:
|
try:
|
||||||
if (filterstr is None or
|
if (filterstr is None or
|
||||||
str(elems.elem).lower().startswith(filterstr)):
|
filterstr.casefold() in str(elems.elem).casefold()):
|
||||||
if self._is_hidden(elems.label):
|
if self._is_hidden(elems.label):
|
||||||
# hidden element which matches again -> show it
|
# hidden element which matches again -> show it
|
||||||
self._show_elem(elems.label)
|
self._show_elem(elems.label)
|
||||||
|
Loading…
Reference in New Issue
Block a user