mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
RCS: commit undo allowed only in unlocked state.
This commit is contained in:
parent
c070c2f1f8
commit
8c24070c85
@ -392,7 +392,7 @@ void RCS::undoLast()
|
||||
|
||||
bool RCS::undoLastEnabled()
|
||||
{
|
||||
return true;
|
||||
return owner_->hasReadonlyFlag();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user