From: Vincent van Ravesteijn Date: Mon, 5 Jan 2009 09:56:37 +0000 (+0000) Subject: Add comment about r27991. X-Git-Tag: 2.0.0~7501 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=bd97d99c9a2939894d596275799e897db3620374;p=lyx.git Add comment about r27991. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27992 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/frontends/qt4/GuiView.cpp b/src/frontends/qt4/GuiView.cpp index a5b5bf942e..3a3f88bcf8 100644 --- a/src/frontends/qt4/GuiView.cpp +++ b/src/frontends/qt4/GuiView.cpp @@ -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(); }