]> git.lyx.org Git - features.git/commitdiff
add missing implementation of the check method for repo-update availability
authorStephan Witt <switt@lyx.org>
Fri, 8 Oct 2010 05:26:12 +0000 (05:26 +0000)
committerStephan Witt <switt@lyx.org>
Fri, 8 Oct 2010 05:26:12 +0000 (05:26 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35572 a592a061-630c-0410-9148-cb99ea01b6c8

src/LyXVC.cpp

index 9efa9ef296ec7b67c64f506760d9491318a8668c..741abf9854b10320942831ee011fe81be3ee0c0d 100644 (file)
@@ -314,6 +314,13 @@ bool LyXVC::undoLastEnabled() const
        return vcs && vcs->undoLastEnabled();
 }
 
+
+bool LyXVC::repoUpdateEnabled() const
+{
+       return vcs && vcs->repoUpdateEnabled();
+}
+       
+       
 bool LyXVC::prepareFileRevision(string const & rev, std::string & f)
 {
        return vcs && vcs->prepareFileRevision(rev, f);