diff --git a/src/LyXVC.cpp b/src/LyXVC.cpp index 808ae2b50f..8c98d5ec53 100644 --- a/src/LyXVC.cpp +++ b/src/LyXVC.cpp @@ -159,6 +159,9 @@ void LyXVC::checkIn() void LyXVC::checkOut() { + //RCS allows checkOut only in ReadOnly mode + if (vcs->toggleReadOnlyEnabled() && !owner_->isReadonly()) return; + LYXERR(Debug::LYXVC, "LyXVC: checkOut"); vcs->checkOut(); }