]> git.lyx.org Git - lyx.git/commitdiff
* src/rowpainter.cpp:
authorJürgen Spitzmüller <spitz@lyx.org>
Tue, 17 Jul 2007 13:35:32 +0000 (13:35 +0000)
committerJürgen Spitzmüller <spitz@lyx.org>
Tue, 17 Jul 2007 13:35:32 +0000 (13:35 +0000)
- draw appendix frame only for the main text.

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

src/rowpainter.cpp

index 9844e2d14642ca17f29cdbdc9bdcd16141724a27..4bee601af3f2a20b5d6d30a7262f5478dc9c3cfa 100644 (file)
@@ -471,7 +471,8 @@ void RowPainter::paintChangeBar()
 
 void RowPainter::paintAppendix()
 {
-       if (!par_.params().appendix())
+       // only draw the appendix frame once (for the main text)
+       if (!par_.params().appendix() || !text_.isMainText(*bv_.buffer()))
                return;
 
        int y = yo_ - row_.ascent();