1
0
mirror of synced 2024-09-27 04:58:26 +02:00

patterns: Fixed project only being marked dirty when evaluating

This commit is contained in:
WerWolv 2021-09-24 01:55:30 +02:00
parent 3c2c2b003f
commit c8114347dc

View File

@ -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());
}
}