Don't cache timedist data if ctx switch data is incomplete.

This commit is contained in:
Bartosz Taudul 2019-10-20 17:03:30 +02:00
parent ccdc102d5a
commit 5816dc2b11

View File

@ -6287,6 +6287,7 @@ void View::DrawZoneInfoWindow()
if( !GetZoneRunningTime( ctx, ev, time, cnt ) )
{
TextDisabledUnformatted( "Incomplete context switch data." );
m_timeDist.dataValidFor = nullptr;
}
else
{