Don't display unknown frames if there's no callstack frames.

This commit is contained in:
Bartosz Taudul 2020-02-01 17:49:27 +01:00
parent 024182b6a0
commit 555203c46a

View File

@ -152,6 +152,8 @@ View::View( FileRead& f, ImFont* fixedWidth, ImFont* smallFont, ImFont* bigFont,
m_userData.StateShouldBePreserved();
m_userData.LoadState( m_vd );
m_userData.LoadAnnotations( m_annotations );
if( m_worker.GetCallstackFrameCount() == 0 ) m_showUnknownFrames = false;
}
View::~View()