Skip to content

Commit

Permalink
fixes code explorer treenode collapsing/expanding issue
Browse files Browse the repository at this point in the history
  • Loading branch information
rubberduck203 committed Mar 8, 2015
1 parent 1e11dba commit c4f3376
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,11 @@ private void AddComponent(object sender, AddComponentEventArgs e)

private void NavigateExplorerTreeNode(object sender, TreeNodeNavigateCodeEventArgs e)
{
if (!e.Node.IsExpanded)
{
e.Node.Expand();
}

if (e.Selection.StartLine != 0)
{
//hack: get around issue where a node's selection seems to ignore a procedure's (or enum's) signature
Expand Down

0 comments on commit c4f3376

Please sign in to comment.