mirror of https://github.com/WerWolv/ImHex.git
fix: Last line of patterns going missing in projects with multiple files
Fixes #1012
This commit is contained in:
parent
320629931c
commit
e7494be5e7
|
@ -802,10 +802,6 @@ namespace hex::plugin::builtin {
|
||||||
this->m_textEditor.SetText(ProviderExtraData::get(newProvider).patternLanguage.sourceCode);
|
this->m_textEditor.SetText(ProviderExtraData::get(newProvider).patternLanguage.sourceCode);
|
||||||
else
|
else
|
||||||
this->m_textEditor.SetText("");
|
this->m_textEditor.SetText("");
|
||||||
|
|
||||||
auto lines = this->m_textEditor.GetTextLines();
|
|
||||||
lines.pop_back();
|
|
||||||
this->m_textEditor.SetTextLines(lines);
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue