Added undo and redo to textbox

This commit is contained in:
Yousef Khadadeh 2025-11-12 11:36:14 +03:00
parent f5d496bc45
commit 94438c7b97
3 changed files with 76 additions and 9 deletions

View file

@ -51,7 +51,6 @@ void UndoManager::redo() {
}
void UndoManager::clear() {
std::cout << "[UndoManager::clear] Clearing undo queue" << std::endl;
redoQueue.clear();
undoQueue.clear();
}