Skip to content

Commit d8aefb5

Browse files
authored
Merge pull request #2091 from Hosch250/Issue2069
Make CE listen for double-click on node instead of tree
2 parents af1a539 + 03629a0 commit d8aefb5

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)