Author: switt
Date: Tue Jan 18 16:30:59 2011
New Revision: 37249
URL: http://www.lyx.org/trac/changeset/37249
Log:
#7149 improve the comment
Modified:
lyx-devel/trunk/src/frontends/qt4/GuiApplication.cpp
Modified: lyx-devel/trunk/src/frontends/qt4/GuiApplication.cpp
==============================================================================
--- lyx-devel/trunk/src/frontends/qt4/GuiApplication.cpp Tue Jan 18
16:22:10 2011 (r37248)
+++ lyx-devel/trunk/src/frontends/qt4/GuiApplication.cpp Tue Jan 18
16:30:59 2011 (r37249)
@@ -1241,7 +1241,7 @@
{
if (!d->views_.empty() && !current_view_) {
// currently at least one view exists but no view has the focus.
- // choose a view to open the document in it.
+ // choose the last view to make it current.
// a view without any open document is preferred.
GuiView * candidate = 0;
QHash<int, GuiView *>::const_iterator it = d->views_.begin();