]> git.lyx.org Git - features.git/commitdiff
Fix crash on first load with mouse wheel: this was because the scrollbar was not...
authorAbdelrazak Younes <younes@lyx.org>
Wed, 22 Aug 2007 07:51:39 +0000 (07:51 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Wed, 22 Aug 2007 07:51:39 +0000 (07:51 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19714 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/LyXView.cpp

index 71b8471d490b24e28935f48011c798e4aa81f14d..fe63103a99ac7e53a241ee6c601614d8ad5e4cc6 100644 (file)
@@ -164,6 +164,8 @@ Buffer * LyXView::loadLyXFile(FileName const & filename, bool tolastfiles)
                }
        }
 
+       wa->redraw();
+
        busy(false);
        return newBuffer;
 }