mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
Fix toc widget on window switch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20683 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
a8cefbcce7
commit
4461bbc42e
@ -743,6 +743,8 @@ bool GuiViewBase::event(QEvent * e)
|
||||
BufferView & bv = wa->bufferView();
|
||||
connectBufferView(bv);
|
||||
connectBuffer(bv.buffer());
|
||||
// The document structure might have changed in another view.
|
||||
updateToc();
|
||||
}
|
||||
return QMainWindow::event(e);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user