Skip to content

Commit

Permalink
- FIXED icons of menu-items in context-menu of files
Browse files Browse the repository at this point in the history
  • Loading branch information
pediRAM committed Oct 15, 2023
1 parent 145b382 commit a4d2ac9
Showing 1 changed file with 20 additions and 4 deletions.
24 changes: 20 additions & 4 deletions source/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -256,10 +256,26 @@
</ListBox.ItemTemplate>
<ListBox.ContextMenu>
<ContextMenu>
<MenuItem Header="Add folder..." Icon="{StaticResource icon_files}" Click="OnAddFilesFromFolderClicked" />
<MenuItem Header="Add files..." Icon="{StaticResource icon_files}" Click="OnAddFilesClicked" />
<MenuItem Header="Remove selected" Icon="{StaticResource icon_remove}" Click="OnRemoveSelectedFilesClicked" />
<MenuItem Header="Clear" Icon="{StaticResource icon_clear}" Click="OnClearFilesClicked" />
<MenuItem Header="Add folder..." Click="OnAddFilesFromFolderClicked" >
<MenuItem.Icon>
<Image Source="{StaticResource icon_files}"/>
</MenuItem.Icon>
</MenuItem>
<MenuItem Header="Add files..." Click="OnAddFilesClicked" >
<MenuItem.Icon>
<Image Source="{StaticResource icon_files}"/>
</MenuItem.Icon>
</MenuItem>
<MenuItem Header="Remove selected" Click="OnRemoveSelectedFilesClicked" >
<MenuItem.Icon>
<Image Source="{StaticResource icon_remove}"/>
</MenuItem.Icon>
</MenuItem>
<MenuItem Header="Clear" Click="OnClearFilesClicked" >
<MenuItem.Icon>
<Image Source="{StaticResource icon_clear}"/>
</MenuItem.Icon>
</MenuItem>
</ContextMenu>
</ListBox.ContextMenu>
</ListBox>
Expand Down

0 comments on commit a4d2ac9

Please # to comment.