mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 05:27:41 -05:00
fix: Pattern source code not being loaded correctly from project files
This commit is contained in:
@@ -303,7 +303,8 @@ namespace hex::plugin::builtin {
|
||||
if (!this->m_syncPatternSourceCode)
|
||||
ProviderExtraData::get(provider).patternLanguage.sourceCode = sourceCode;
|
||||
|
||||
this->m_textEditor.SetText(sourceCode);
|
||||
if (provider == ImHexApi::Provider::get())
|
||||
this->m_textEditor.SetText(sourceCode);
|
||||
|
||||
return true;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user