mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-13 20:09:59 +00:00
ReadOnly mode only for RCS
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25793 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
63bc0678bc
commit
d4b9c97555
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user