]> git.lyx.org Git - lyx.git/blobdiff - src/RowPainter.cpp
Fix -Winconsistent-missing-override
[lyx.git] / src / RowPainter.cpp
index 84848ec05a25521fa9634613e2cbd85839b90e43..4f5593e18b3764bce121ea2dae5255888fedc052 100644 (file)
@@ -434,7 +434,7 @@ void RowPainter::paintLabel() const
        FontInfo lfont = font;
 
        // bullet?
-       if (layout.labeltype == LABEL_ITEMIZE) {
+       if (layout.labeltype == LABEL_ITEMIZE && par_.itemdepth < 4) {
                // get label font size from document properties
                lfont.setSize(pi_.base.bv->buffer().params().user_defined_bullet(par_.itemdepth).getFontSize());
                // realize to avoid assertion