mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
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: aaa96e909b
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
Add a link
Reference in a new issue