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);
|
||||
else
|
||||
this->m_textEditor.SetText("");
|
||||
|
||||
auto lines = this->m_textEditor.GetTextLines();
|
||||
lines.pop_back();
|
||||
this->m_textEditor.SetTextLines(lines);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user