diff --git a/plugins/builtin/source/content/views/view_pattern_editor.cpp b/plugins/builtin/source/content/views/view_pattern_editor.cpp index ec5b5f2af..e0f07a138 100644 --- a/plugins/builtin/source/content/views/view_pattern_editor.cpp +++ b/plugins/builtin/source/content/views/view_pattern_editor.cpp @@ -802,10 +802,6 @@ namespace hex::plugin::builtin { this->m_textEditor.SetText(ProviderExtraData::get(newProvider).patternLanguage.sourceCode); else this->m_textEditor.SetText(""); - - auto lines = this->m_textEditor.GetTextLines(); - lines.pop_back(); - this->m_textEditor.SetTextLines(lines); } }); }