From b02e6bac0345073f7eb165c51c99bdc02c6c5a9f Mon Sep 17 00:00:00 2001 From: glopesdev Date: Sun, 14 Jul 2024 10:05:00 +0100 Subject: [PATCH] Hide ready state from explorer view --- Bonsai.Editor/ExplorerTreeView.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bonsai.Editor/ExplorerTreeView.cs b/Bonsai.Editor/ExplorerTreeView.cs index 55344c6f..8be94321 100644 --- a/Bonsai.Editor/ExplorerTreeView.cs +++ b/Bonsai.Editor/ExplorerTreeView.cs @@ -131,7 +131,7 @@ private static int GetStateImageIndex(ExplorerNodeStatus status) { return status switch { - ExplorerNodeStatus.Ready => 0, + ExplorerNodeStatus.Ready => -1, ExplorerNodeStatus.Blocked => 1, _ => throw new ArgumentException("Invalid node status.", nameof(status)) };