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.
This commit is contained in:
parent
50cb80649f
commit
aaa96e909b
Notes:
sideshowbarker
2024-07-18 18:29:06 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/aaa96e909bf
1 changed files with 0 additions and 1 deletions
|
@ -701,7 +701,6 @@ void TextDocument::redo()
|
|||
void TextDocument::add_to_undo_stack(NonnullOwnPtr<TextDocumentUndoCommand> undo_command)
|
||||
{
|
||||
m_undo_stack.push(move(undo_command));
|
||||
notify_did_change();
|
||||
}
|
||||
|
||||
TextDocumentUndoCommand::TextDocumentUndoCommand(TextDocument& document)
|
||||
|
|
Loading…
Add table
Reference in a new issue