Display lock number on lock list in options.

This commit is contained in:
Bartosz Taudul 2017-10-22 17:30:02 +02:00
parent 1967ce871a
commit 262dfa53e9

View File

@ -2792,7 +2792,9 @@ void View::DrawOptions()
ImGui::Indent( tw );
for( auto& l : m_lockMap )
{
ImGui::Checkbox( GetString( GetSourceLocation( l.second.srcloc ).function ), &l.second.visible );
char buf[1024];
sprintf( buf, "%" PRIu64 ": %s", l.first, GetString( GetSourceLocation( l.second.srcloc ).function ) );
ImGui::Checkbox( buf , &l.second.visible );
}
ImGui::Unindent( tw );
ImGui::Separator();