disableUndoRedo method
Disables recording, clears both stacks and notifies history.
Implementation
void disableUndoRedo() {
if (!_canChangeHistory) return;
_undoRedoEnabled = false;
clearHistory();
}
Disables recording, clears both stacks and notifies history.
void disableUndoRedo() {
if (!_canChangeHistory) return;
_undoRedoEnabled = false;
clearHistory();
}