mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
fixed bug
This commit is contained in:
parent
a2d21510ac
commit
5a2633ef5c
1 changed files with 2 additions and 2 deletions
|
@ -104,8 +104,8 @@ void SettingsDialog::filterElements(const QString &text)
|
||||||
for (auto &&tab : this->tabs_)
|
for (auto &&tab : this->tabs_)
|
||||||
{
|
{
|
||||||
// filterElements returns true if anything on the page matches the search query
|
// filterElements returns true if anything on the page matches the search query
|
||||||
tab->setVisible(tab->name().contains(text, Qt::CaseInsensitive) ||
|
tab->setVisible(tab->page()->filterElements(text) ||
|
||||||
tab->page()->filterElements(text));
|
tab->name().contains(text, Qt::CaseInsensitive));
|
||||||
}
|
}
|
||||||
|
|
||||||
// find next visible page
|
// find next visible page
|
||||||
|
|
Loading…
Reference in a new issue