mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 11:16:55 +00:00
Prevent null pointer
No status entry needed (this bug crept in after the last release)
This commit is contained in:
parent
3be447c9d8
commit
1c1c83eced
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user