mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-27 14:29:21 +00:00
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:
parent
468d29423e
commit
0c00916333
@ -164,6 +164,8 @@ Buffer * LyXView::loadLyXFile(FileName const & filename, bool tolastfiles)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
wa->redraw();
|
||||||
|
|
||||||
busy(false);
|
busy(false);
|
||||||
return newBuffer;
|
return newBuffer;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user