From c5f981f34c02d56c43fb055438304110d022c4d1 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Fri, 2 Nov 2007 18:19:45 +0000 Subject: [PATCH] Fix initial numbering of foot notes. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21385 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/Text3.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Text3.cpp b/src/Text3.cpp index 79f48c1bb5..3d77ab78f0 100644 --- a/src/Text3.cpp +++ b/src/Text3.cpp @@ -1161,10 +1161,12 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd) case LFUN_THEOREM_INSERT: #endif case LFUN_CAPTION_INSERT: + case LFUN_FOOTNOTE_INSERT: // Open the inset, and move the current selection // inside it. doInsertInset(cur, this, cmd, true, true); cur.posRight(); + // These insets are numbered. updateLabels(bv->buffer()); break; case LFUN_NOTE_INSERT: @@ -1174,7 +1176,6 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd) case LFUN_BIBITEM_INSERT: case LFUN_ERT_INSERT: case LFUN_LISTING_INSERT: - case LFUN_FOOTNOTE_INSERT: case LFUN_MARGINALNOTE_INSERT: case LFUN_OPTIONAL_INSERT: case LFUN_ENVIRONMENT_INSERT: -- 2.39.2