From: Abdelrazak Younes Date: Fri, 2 Nov 2007 18:19:45 +0000 (+0000) Subject: Fix initial numbering of foot notes. X-Git-Tag: 1.6.10~7518 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=c5f981f34c02d56c43fb055438304110d022c4d1;p=features.git Fix initial numbering of foot notes. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21385 a592a061-630c-0410-9148-cb99ea01b6c8 --- 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: