Fix bug #6302: Allow setting of on-screen paragraph indentation when

alignment is LEFT.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37642 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2011-02-14 00:58:44 +00:00
parent c6648aaeb9
commit 13126b8060

View File

@ -1992,7 +1992,7 @@ int TextMetrics::leftMargin(int max_width,
|| (layout.labeltype == LABEL_STATIC
&& layout.latextype == LATEX_ENVIRONMENT
&& !text_->isFirstInSequence(pit)))
&& align == LYX_ALIGN_BLOCK
&& (align == LYX_ALIGN_BLOCK || align == LYX_ALIGN_LEFT)
&& !par.params().noindent()
// in some insets, paragraphs are never indented
&& !text_->inset().neverIndent()