Skip to content

Commit 3976556

Browse files
committed
Make CE double click listen for node dc instead of tree dc
1 parent 0645d2d commit 3976556

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

RetailCoder.VBE/UI/CodeExplorer/CodeExplorerControl.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,7 @@
274274
<Setter Property="IsSelected" Value="{Binding IsSelected, Mode=TwoWay}" />
275275
<Setter Property="HorizontalAlignment" Value="Left" />
276276
<EventSetter Event="PreviewMouseRightButtonDown" Handler="OnPreviewMouseRightButtonDown" />
277+
<EventSetter Event="MouseDoubleClick" Handler="TreeView_OnMouseDoubleClick" />
277278
<Style.Triggers>
278279
<Trigger Property="IsSelected" Value="True">
279280
<Setter Property="BorderBrush" Value="#adc6e5"/>
@@ -726,7 +727,6 @@
726727
Background="White"
727728
ItemContainerStyle="{StaticResource ShinyTreeView}"
728729
HorizontalContentAlignment="Stretch"
729-
MouseDoubleClick="TreeView_OnMouseDoubleClick"
730730
Style="{StaticResource CodeExplorerTreeViewStyle}" BorderThickness="0,1"
731731
VirtualizingPanel.IsVirtualizing="False">
732732
<i:Interaction.Behaviors>

0 commit comments

Comments
 (0)