Skip to content

Commit 1deb16c

Browse files
committed
Add xShared="False" to AddComponent submenu of CE
This stops it from disappearing in previous places when using it in a new place.
1 parent 599243f commit 1deb16c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rubberduck.Core/UI/CodeExplorer/CodeExplorerControl.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
<SolidColorBrush x:Key="{x:Static SystemColors.HighlightTextBrushKey}" Color="Black" />
6565
<SolidColorBrush x:Key="{x:Static SystemColors.ControlTextBrushKey}" Color="Black" />
6666

67-
<CompositeCollection x:Key="AddModuleCommands">
67+
<CompositeCollection x:Key="AddModuleCommands" x:Shared="False">
6868
<MenuItem Header="{Resx ResxName=Rubberduck.Resources.CodeExplorer.CodeExplorerUI, Key=CodeExplorer_AddExistingFileText}"
6969
Command="{Binding ImportCommand}"
7070
CommandParameter="{Binding SelectedItem, Mode=OneWay}">

0 commit comments

Comments
 (0)