ux: Make uncompiled magic files be compiled when analyzing files

This commit is contained in:
WerWolv 2021-12-03 21:07:07 +01:00
parent e720b61df6
commit 5a2e2b1773
1 changed files with 2 additions and 0 deletions

View File

@ -96,6 +96,8 @@ namespace hex {
}
{
magic::compile();
this->m_fileDescription = magic::getDescription(provider);
this->m_mimeType = magic::getMIMEType(provider);
this->m_dataValid = true;