]> git.lyx.org Git - lyx.git/blobdiff - src/Paragraph.cpp
cut down pch.h to more frequently needed headers
[lyx.git] / 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!");