Sample parents show function, not symbol.

This commit is contained in:
Bartosz Taudul 2022-10-04 22:03:05 +02:00
parent 05b639e3b6
commit 5874ac11f7
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -672,7 +672,7 @@ void View::DrawSampleParents()
const auto symName = m_worker.GetString( symbol->name );
const char* normalized = m_shortenName != ShortenName::Never ? ShortenZoneName( ShortenName::OnlyNormalize, symName ) : nullptr;
ImGui::PushFont( m_bigFont );
TextFocused( "Symbol:", normalized ? normalized : symName );
TextFocused( "Function:", normalized ? normalized : symName );
if( normalized )
{
ImGui::PopFont();