diff --git a/source/views/view_pattern_editor.cpp b/source/views/view_pattern_editor.cpp index e22ee5989..83395cea9 100644 --- a/source/views/view_pattern_editor.cpp +++ b/source/views/view_pattern_editor.cpp @@ -252,14 +252,14 @@ namespace hex { } if (this->m_textEditor.IsTextChanged()) { + ProjectFile::markDirty(); + if (this->m_runAutomatically) this->m_hasUnevaluatedChanges = true; } if (this->m_hasUnevaluatedChanges && !this->m_evaluatorRunning) { this->m_hasUnevaluatedChanges = false; - ProjectFile::markDirty(); - this->parsePattern(this->m_textEditor.GetText().data()); } }