mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 11:48:06 +01:00
Hiding remove context menu when there are no colors in the history (#8328)
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
SelectedIndex="{Binding SelectedColorIndex}"
|
||||
ItemContainerStyle="{DynamicResource ColorHistoryListViewStyle}">
|
||||
<ui:ListView.ContextMenu>
|
||||
<ContextMenu>
|
||||
<ContextMenu Visibility="{Binding ColorsHistory.Count, Converter={StaticResource numberToVisibilityConverter}}">
|
||||
<MenuItem Header="{x:Static p:Resources.Remove}"
|
||||
Command="{Binding RemoveColorCommand}">
|
||||
<MenuItem.Icon>
|
||||
|
||||
Reference in New Issue
Block a user