mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-29 21:30:53 +00:00
don't allow switching to the connected host
This commit is contained in:
@@ -1102,6 +1102,10 @@ namespace renderdocui.Windows
|
||||
item.Click += new EventHandler(switchContext);
|
||||
item.Tag = host;
|
||||
|
||||
// don't allow switching to the connected host
|
||||
if (host.Connected)
|
||||
item.Enabled = false;
|
||||
|
||||
items[idx++] = item;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user