]> git.lyx.org Git - features.git/commitdiff
* BufferView_pimpl.C (getStatus):
authorJürgen Spitzmüller <spitz@lyx.org>
Mon, 22 May 2006 14:28:43 +0000 (14:28 +0000)
committerJürgen Spitzmüller <spitz@lyx.org>
Mon, 22 May 2006 14:28:43 +0000 (14:28 +0000)
Disable saving of bookmarks in mathed for it is not yet supported
   and makes LyX crash (bug 2597)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13911 a592a061-630c-0410-9148-cb99ea01b6c8

src/BufferView_pimpl.C

index be0e9da6fed1933b223aa6d4919fd3ed8a933709..de0508b19d2e6c3bafc0dcd4b04d0289d8f05705 100644 (file)
@@ -1067,12 +1067,12 @@ FuncStatus BufferView::Pimpl::getStatus(FuncRequest const & cmd)
        case LFUN_FILE_INSERT:
        case LFUN_FILE_INSERT_ASCII_PARA:
        case LFUN_FILE_INSERT_ASCII:
+       case LFUN_BOOKMARK_SAVE:
                // FIXME: Actually, these LFUNS should be moved to LyXText
                flag.enabled(cursor_.inTexted());
                break;
        case LFUN_FONT_STATE:
        case LFUN_LABEL_INSERT:
-       case LFUN_BOOKMARK_SAVE:
        case LFUN_PARAGRAPH_GOTO:
        // FIXME handle non-trivially
        case LFUN_OUTLINE_UP: