]> git.lyx.org Git - lyx.git/commitdiff
Fix the missing "Figure #:" label from the caption of a figure float.
authorAngus Leeming <leeming@lyx.org>
Tue, 13 Apr 2004 17:46:36 +0000 (17:46 +0000)
committerAngus Leeming <leeming@lyx.org>
Tue, 13 Apr 2004 17:46:36 +0000 (17:46 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8652 a592a061-630c-0410-9148-cb99ea01b6c8

src/ChangeLog
src/text.C

index 3c70268038993abd8b6499f74c5393ac5ffd59a5..40424c830dcbe180e1863582b3b66e4309748510 100644 (file)
@@ -1,3 +1,9 @@
+2004-04-05  Angus Leeming  <leeming@lyx.org>
+
+       * text.C (redoParagraphs): add call to updateCounters(), thereby
+       fixing the missing "Figure #:" label from the caption of a
+       figure float.
+
 2004-04-13  Angus Leeming  <leeming@lyx.org>
 
        * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
index a9eb292e9deee4ae6349e4a0ef5329f3ab6b9948..aeeee9743d8dd6b9a2179cc82840a54bd8ebeb87 100644 (file)
@@ -1816,6 +1816,7 @@ void LyXText::redoParagraphs(par_type pit, par_type end)
        for ( ; pit != end; ++pit)
                redoParagraphInternal(pit);
        updateParPositions();
+       updateCounters();
 }