Fix crash when compare trace not selected

This commit is contained in:
Pavel Šmejkal 2022-05-20 09:26:50 +02:00
parent 6233cf3fdf
commit 2c63d9b320

View File

@ -11822,9 +11822,9 @@ void View::DrawCompare()
{ {
m_compare.badVer.state = BadVersionState::ReadError; m_compare.badVer.state = BadVersionState::ReadError;
} }
}
NFD_FreePathU8( fn ); NFD_FreePathU8( fn );
} }
}
tracy::BadVersion( m_compare.badVer, m_bigFont ); tracy::BadVersion( m_compare.badVer, m_bigFont );
ImGui::End(); ImGui::End();
return; return;