RCS: commit undo allowed only in unlocked state.

This commit is contained in:
Pavel Sanda 2018-01-10 10:47:48 +01:00
parent c070c2f1f8
commit 8c24070c85

View File

@ -392,7 +392,7 @@ void RCS::undoLast()
bool RCS::undoLastEnabled()
{
return true;
return owner_->hasReadonlyFlag();
}