mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
fix: Last line of patterns going missing in projects with multiple files
Fixes #1012
This commit is contained in:
@@ -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);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user