From aaa96e909bf31d59eac32794a2cbe1d886961865 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sat, 8 May 2021 15:45:00 +0200 Subject: [PATCH] LibGUI: Don't fire TextDocument change notification after each command The undo stack has its own notification mechanism now, and we no longer piggyback on the document change notifications. --- Userland/Libraries/LibGUI/TextDocument.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Userland/Libraries/LibGUI/TextDocument.cpp b/Userland/Libraries/LibGUI/TextDocument.cpp index 7686e67a0b..0beef4170b 100644 --- a/Userland/Libraries/LibGUI/TextDocument.cpp +++ b/Userland/Libraries/LibGUI/TextDocument.cpp @@ -701,7 +701,6 @@ void TextDocument::redo() void TextDocument::add_to_undo_stack(NonnullOwnPtr undo_command) { m_undo_stack.push(move(undo_command)); - notify_did_change(); } TextDocumentUndoCommand::TextDocumentUndoCommand(TextDocument& document)