Skip to content

Commit

Permalink
hide "remove empty filters" on project
Browse files Browse the repository at this point in the history
  • Loading branch information
mjaun committed Nov 30, 2015
1 parent 6f00daf commit c0bf766
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Integration/Commands/RemoveEmptyFiltersCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit c0bf766

Please sign in to comment.