]> git.lyx.org Git - features.git/commitdiff
add comments
authorAbdelrazak Younes <younes@lyx.org>
Fri, 21 Dec 2007 09:43:23 +0000 (09:43 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Fri, 21 Dec 2007 09:43:23 +0000 (09:43 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22224 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiWorkArea.cpp

index 323846b0f3b535f6c76021644e16b493854e194e..3ef881739ba732ff1b66a2895e62e1d3e8da64bd 100644 (file)
@@ -308,6 +308,8 @@ void GuiWorkArea::redraw()
        updateScreen();
        update(0, 0, viewport()->width(), viewport()->height());
 
+       /// \warning: scrollbar updating *must* be done after the BufferView is drawn
+       /// because \c BufferView::updateScrollbar() is called in \c BufferView::draw().
        updateScrollbar();
        lyx_view_->updateStatusBar();