Some old traces might have invalid image names.

This commit is contained in:
Bartosz Taudul 2021-11-13 20:34:54 +01:00
parent 0c7c3ae641
commit 667112c71f
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -17473,7 +17473,7 @@ void View::DrawFrameTreeLevel( const unordered_flat_map<uint64_t, CallstackFrame
const char* fileName = nullptr;
if( frame.line == 0 )
{
TextDisabledUnformatted( m_worker.GetString( frameDataPtr->imageName ) );
if( frameDataPtr->imageName.Active() ) TextDisabledUnformatted( m_worker.GetString( frameDataPtr->imageName ) );
}
else
{