If no history is returned, empty out the history event list

* Otherwise it stays as "Loading..." forever
This commit is contained in:
baldurk
2015-02-26 15:13:21 +00:00
parent c69389864e
commit 1597fa3f32
+6 -2
View File
@@ -398,12 +398,16 @@ namespace renderdocui.Windows
private void UpdateEventList()
{
if (modifications == null) return;
events.BeginUpdate();
events.Nodes.Clear();
if (modifications == null)
{
events.EndUpdate();
return;
}
var frags = new List<TreelistView.Node>();
var mods = new List<PixelModification>();