mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:08:10 +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
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