From c0bf7661c80deebb870de3ad910098e274fee537 Mon Sep 17 00:00:00 2001 From: reloZid Date: Mon, 30 Nov 2015 18:26:13 +0100 Subject: [PATCH] hide "remove empty filters" on project --- Integration/Commands/RemoveEmptyFiltersCommand.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Integration/Commands/RemoveEmptyFiltersCommand.cs b/Integration/Commands/RemoveEmptyFiltersCommand.cs index 61147e0..051097c 100644 --- a/Integration/Commands/RemoveEmptyFiltersCommand.cs +++ b/Integration/Commands/RemoveEmptyFiltersCommand.cs @@ -22,7 +22,7 @@ protected override void OnBeforeQueryStatus() { var selection = SolutionHelper.GetSelectedItems(Package).ToList(); - Visible = selection.Any(); + Visible = selection.Any() && selection.All(item => !(item is VCProjectWrapper)); Enabled = selection.Any(item => item is ContainerWrapper); }