]> git.lyx.org Git - features.git/commit
Fix bug #7176: Clicking TOC doesn't bring up outline
authorVincent van Ravesteijn <vfr@lyx.org>
Fri, 17 Dec 2010 13:12:43 +0000 (13:12 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Fri, 17 Dec 2010 13:12:43 +0000 (13:12 +0000)
commitb90de3dc5cb7d69218ca94525d12d255f2ffee42
tree8b9a4d9603f644f8789761600c88f34518314a8e
parentd82d9d5bfdf79aee710025e49c5f87aa2eb1856b
Fix bug #7176: Clicking TOC doesn't bring up outline

Previously LFUN_INSET_SETTINGS was misused to show the outliner. As a TOC doesn't have settings, it was no longer showed after a refactorization of LFUN_INSET_SETTINGS/LFUN_MOUSE_RELEASE because InsetToc::hasSettings() returns false.

As this is a special case, we should handle this special case in InsetTOC itself.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36907 a592a061-630c-0410-9148-cb99ea01b6c8
src/insets/InsetTOC.cpp
src/insets/InsetTOC.h