mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-28 03:50:00 +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()
|
bool RCS::undoLastEnabled()
|
||||||
{
|
{
|
||||||
return true;
|
return owner_->hasReadonlyFlag();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user