]> git.lyx.org Git - features.git/commitdiff
VCS: add some message.
authorPavel Sanda <sanda@lyx.org>
Tue, 29 Jul 2008 11:55:27 +0000 (11:55 +0000)
committerPavel Sanda <sanda@lyx.org>
Tue, 29 Jul 2008 11:55:27 +0000 (11:55 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25973 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiView.cpp

index 6e8a4f50ced6b6308dcee4a802402e3695ddbccc..85dae920181faddb8eda11003716e3ff5ce01df1 100644 (file)
@@ -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);
        }