From: Abdelrazak Younes Date: Fri, 21 Dec 2007 09:43:23 +0000 (+0000) Subject: add comments X-Git-Tag: 1.6.10~6868 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=717db0a59e464ff4e581b7c64a4556857f4c9bf7;p=features.git add comments git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22224 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/frontends/qt4/GuiWorkArea.cpp b/src/frontends/qt4/GuiWorkArea.cpp index 323846b0f3..3ef881739b 100644 --- a/src/frontends/qt4/GuiWorkArea.cpp +++ b/src/frontends/qt4/GuiWorkArea.cpp @@ -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();