File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
MarkdownViewerPlusPlus/Forms Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ public MarkdownViewerOptions(ref MarkdownViewerConfiguration configuration)
6666 this . optionPanels . Add ( node . Tag . ToString ( ) , optionsPanel ) ;
6767 }
6868 //
69- this . treeOptions . NodeMouseClick += treeOptions_NodeMouseClick ;
69+ this . treeOptions . AfterSelect += treeOptions_AfterSelect ;
7070 //Start with the general options panel
7171 this . splitOptions . Panel2 . Controls . Add ( this . optionPanels . First ( ) . Value ) ;
7272 this . treeOptions . Select ( ) ;
@@ -82,7 +82,7 @@ public MarkdownViewerOptions(ref MarkdownViewerConfiguration configuration)
8282 /// </summary>
8383 /// <param name="sender"></param>
8484 /// <param name="treeNodeEvent"></param>
85- protected void treeOptions_NodeMouseClick ( object sender , TreeNodeMouseClickEventArgs treeNodeEvent )
85+ protected void treeOptions_AfterSelect ( object sender , TreeViewEventArgs treeNodeEvent )
8686 {
8787 //Remove old (if any)
8888 if ( this . splitOptions . Panel2 . Controls . Count > 0 )
You can’t perform that action at this time.
0 commit comments