RCS: commit undo allowed only in unlocked state.

This commit is contained in:
Pavel Sanda 2018-01-10 10:47:48 +01:00
parent 952abe8c54
commit f91e77d18e

View File

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