mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 19:25:39 +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,7 +3340,8 @@ void PrefShortcuts::on_searchLE_textEdited()
|
|||||||
for (int i = 0; i < matched.size(); ++i)
|
for (int i = 0; i < matched.size(); ++i)
|
||||||
if (!isAlwaysHidden(*matched[i])) {
|
if (!isAlwaysHidden(*matched[i])) {
|
||||||
matched[i]->setHidden(false);
|
matched[i]->setHidden(false);
|
||||||
matched[i]->parent()->setExpanded(true);
|
if (matched[i]->parent())
|
||||||
|
matched[i]->parent()->setExpanded(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user