diff --git a/LibGUI/GTextEditor.cpp b/LibGUI/GTextEditor.cpp index 7122d25c74..5835e01641 100644 --- a/LibGUI/GTextEditor.cpp +++ b/LibGUI/GTextEditor.cpp @@ -1014,6 +1014,7 @@ void GTextEditor::leave_event(CEvent&) void GTextEditor::did_change() { + ASSERT(!is_readonly()); update_content_size(); if (!m_have_pending_change_notification) { m_have_pending_change_notification = true;