Reset cost selection when no samples.

This commit is contained in:
Bartosz Taudul 2021-06-19 23:17:24 +02:00
parent 8d52d2acfd
commit 90149641df
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -1352,6 +1352,10 @@ void SourceView::RenderSymbolView( Worker& worker, View& view )
} }
} }
} }
else
{
m_cost = 0;
}
ImGui::PopStyleVar(); ImGui::PopStyleVar();
ImGui::Separator(); ImGui::Separator();