]> git.lyx.org Git - features.git/commitdiff
* src/Paragraph.cpp (getLabelWidthString):
authorJürgen Spitzmüller <spitz@lyx.org>
Mon, 10 Sep 2007 13:45:48 +0000 (13:45 +0000)
committerJürgen Spitzmüller <spitz@lyx.org>
Mon, 10 Sep 2007 13:45:48 +0000 (13:45 +0000)
- don't judge possibility of configurable label string by the existence of such,
  but rather by the margintype (bug 4127)

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

src/Paragraph.cpp

index 7f134751943fd68c72e42567704bd6ddea5379bc..0a3f739e74c61655af95007a2bffde8ea4bc2890 100644 (file)
@@ -1607,7 +1607,7 @@ docstring const & Paragraph::getLabelstring() const
 // the next two functions are for the manual labels
 docstring const Paragraph::getLabelWidthString() const
 {
-       if (!params().labelWidthString().empty())
+       if (layout()->margintype == MARGIN_MANUAL)
                return params().labelWidthString();
        else
                return _("Senseless with this layout!");