1
0
mirror of synced 2024-11-12 10:10:53 +01:00

fix: Last line of patterns going missing in projects with multiple files

Fixes #1012
This commit is contained in:
WerWolv 2023-04-10 16:50:23 +02:00
parent 320629931c
commit e7494be5e7

View File

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