Prevent null pointer

No status entry needed (this bug crept in after the last release)
This commit is contained in:
Juergen Spitzmueller 2021-10-12 07:42:21 +02:00
parent 3be447c9d8
commit 1c1c83eced

View File

@ -3340,6 +3340,7 @@ void PrefShortcuts::on_searchLE_textEdited()
for (int i = 0; i < matched.size(); ++i)
if (!isAlwaysHidden(*matched[i])) {
matched[i]->setHidden(false);
if (matched[i]->parent())
matched[i]->parent()->setExpanded(true);
}
}