]> git.lyx.org Git - features.git/commit
Correct enabling of the "Navigate->Bookmarks->Clear Bookmarks" menu item.
authorVincent van Ravesteijn <vfr@lyx.org>
Wed, 7 Jan 2009 01:48:47 +0000 (01:48 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Wed, 7 Jan 2009 01:48:47 +0000 (01:48 +0000)
commitc51ae2651cc46d0133960b649092a1ea4ecbf72c
treed1961abc62a146d736877d3ce8bea19713262ffc
parent6cf5e092eaa0964ae8699e8d3bb0994e2365f7e9
Correct enabling of the "Navigate->Bookmarks->Clear Bookmarks" menu item.

* LyXFunc.cpp:

Note that getStatus() always returned true for LFUN_BOOKMARK_CLEAR. This is because bookmarks().size() is hardcoded in the code to be 9 which is always larger than zero, obviously

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28014 a592a061-630c-0410-9148-cb99ea01b6c8
src/LyXFunc.cpp
src/Session.cpp
src/Session.h