]> git.lyx.org Git - features.git/commit
Fix bug #5082: Outline visibility not remembered.
authorVincent van Ravesteijn <vfr@lyx.org>
Mon, 3 Jan 2011 23:23:09 +0000 (23:23 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Mon, 3 Jan 2011 23:23:09 +0000 (23:23 +0000)
commit0faafa47bfed7f005ef9cb599f205fa6f9edaba4
tree38ab8ce158998f7888a5843b606c1448a2e1d265
parentdc6b4a332a1e7244234e73334d6f2197ffb55dcc
Fix bug #5082: Outline visibility not remembered.

When a document with a InsetTOC was closed, the outline was closed. But this shouldn't happen because editedInset("toc") does never return something.

The reason that this happened was that if currentBufferView() is 0, we don't even care wehther inset was specified. If inset is specified, it should match the editedInset.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37094 a592a061-630c-0410-9148-cb99ea01b6c8
src/frontends/qt4/GuiView.cpp