mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-21 23:09:40 +00:00
Fix crash when closing LyX with open Search pane
This commit is contained in:
parent
1e711f902a
commit
a90c5f202e
@ -422,7 +422,8 @@ void GuiSearchWidget::hideEvent(QHideEvent *)
|
||||
dispatch(FuncRequest(LFUN_DIALOG_HIDE, "findreplace"));
|
||||
view_.setFocus();
|
||||
// update toolbar status
|
||||
bv_->buffer().updateBuffer();
|
||||
if (bv_)
|
||||
bv_->buffer().updateBuffer();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user