mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
RCS: commit undo allowed only in unlocked state.
This commit is contained in:
parent
952abe8c54
commit
f91e77d18e
@ -392,7 +392,7 @@ void RCS::undoLast()
|
||||
|
||||
bool RCS::undoLastEnabled()
|
||||
{
|
||||
return true;
|
||||
return owner_->hasReadonlyFlag();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user