]> git.lyx.org Git - features.git/commitdiff
* src/buffer_funcs.C (setCounter): Ignore the layout label string in
authorGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Tue, 11 Apr 2006 08:24:15 +0000 (08:24 +0000)
committerGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Tue, 11 Apr 2006 08:24:15 +0000 (08:24 +0000)
paragraphs without label

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

src/buffer_funcs.C

index 67129e04c1c14d212a8668e57e835fc8b51890ad..71dcdd397194b163f7fad3c260831881553c3ef9 100644 (file)
@@ -496,7 +496,9 @@ void setCounter(Buffer const & buf, ParIterator & it)
                }
 
                par.params().labelString(s);
-       } else
+       } else if (layout->labeltype == LABEL_NO_LABEL)
+               par.params().labelString(string());
+       else
                par.params().labelString(buf.B_(layout->labelstring()));
 }