Fix cursor positionning on new buffer.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22238 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2007-12-21 20:01:11 +00:00
parent a155d8934e
commit 93289e8fe1

View File

@ -1065,6 +1065,8 @@ void GuiView::newDocument(string const & filename, bool from_template)
if (b) if (b)
setBuffer(b); setBuffer(b);
// Ensure the cursor is correctly positionned on screen.
view()->showCursor();
} }