From 432c3b23ce261cd15a6a43345dd490e0c2977e47 Mon Sep 17 00:00:00 2001 From: Pavel Sanda Date: Tue, 29 Jul 2008 11:55:27 +0000 Subject: [PATCH] VCS: add some message. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25973 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiView.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/frontends/qt4/GuiView.cpp b/src/frontends/qt4/GuiView.cpp index 6e8a4f50ce..85dae92018 100644 --- a/src/frontends/qt4/GuiView.cpp +++ b/src/frontends/qt4/GuiView.cpp @@ -1325,6 +1325,8 @@ void GuiView::openDocument(string const & fname) setBuffer(buf); buf->errors("Parse"); str2 = bformat(_("Document %1$s opened."), disp_fn); + if (buf->lyxvc().inUse()) + str2 += " " + _("Version control detected, enabling VCS support."); } else { str2 = bformat(_("Could not open document %1$s"), disp_fn); } -- 2.39.5