dvusd / NodeDisabled

Visually identify disabled nodes.
4 stars 5 forks source link

Breaks keybord navigation #1

Open pierrocknroll opened 11 years ago

pierrocknroll commented 11 years ago

Hi and thanks a lot for your great plugin !

My problem is that plugin breaks keyboard navigation : when I go down to a disabled node, the navigation stops. To fix it quickly I changed :

me.mon(tree.getSelectionModel(),'beforeselect',me.onBeforeNodeSelect,me);

by :

me.mon(tree,'beforeitemclick',me.onBeforeNodeSelect,me);

But the best thing to do, I think, is to go to the next enabled node when navigate with keyboard on a disabled one.

Thanks

zombeerose commented 11 years ago

Please feel free to post patches.