Add comment about r27991.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27992 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2009-01-05 09:56:37 +00:00
parent cc3b9c61cf
commit bd97d99c9a

View File

@ -1623,8 +1623,11 @@ void GuiView::newDocument(string const & filename, bool from_template)
if (b)
setBuffer(b);
// Ensure the cursor is correctly positionned on screen.
// If no new document could be created, it is unsure
// whether there is a valid BufferView.
if (view())
// Ensure the cursor is correctly positioned on screen.
view()->showCursor();
}