Fix potential crash with TreeListView.InvokeRequired not being right

This commit is contained in:
baldurk
2016-06-24 15:35:17 +02:00
parent 4b674425c5
commit 75590986ee
@@ -158,7 +158,7 @@ namespace renderdocui.Controls
private void SetVariables(ShaderVariable[] vars)
{
if (variables.InvokeRequired)
if (this.InvokeRequired)
{
this.BeginInvoke(new Action(() => { SetVariables(vars); }));
return;