From cc0a9f811cc658bb7b1c498ff94fde64872eac38 Mon Sep 17 00:00:00 2001 From: Georg Baum Date: Tue, 11 Apr 2006 08:24:15 +0000 Subject: [PATCH] * src/buffer_funcs.C (setCounter): Ignore the layout label string in paragraphs without label git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13633 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/buffer_funcs.C | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/buffer_funcs.C b/src/buffer_funcs.C index 67129e04c1..71dcdd3971 100644 --- a/src/buffer_funcs.C +++ b/src/buffer_funcs.C @@ -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())); }