Fixes #5887: You can now select correctly a directive kind in directive
page
Merge pull request #697 from VinceMacBuche/bug_5887/directive_stays_selected_in_directives_tree_even_after_other_item_has_been_selected_and_displayed

Fixes #5887: You can now select correctly a directive kind in directive page