Fix crash on first load with mouse wheel: this was because the scrollbar was not updated. The solution is just to force a redraw in LyXView::loadLyXFile().

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19714 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2007-08-22 07:51:39 +00:00
parent 468d29423e
commit 0c00916333

View File

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