Add right/left arrows for exapand/collapse.
Fixes https://gitlab.com/kicad/code/kicad/issues/8022
This commit is contained in:
parent
faa5ed3e37
commit
7593ee3917
|
@ -348,12 +348,14 @@ void LIB_TREE::onQueryCharHook( wxKeyEvent& aKeyStroke )
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case WXK_ADD:
|
case WXK_ADD:
|
||||||
|
case WXK_RIGHT:
|
||||||
if( type == LIB_TREE_NODE::LIB )
|
if( type == LIB_TREE_NODE::LIB )
|
||||||
m_tree_ctrl->Expand( sel );
|
m_tree_ctrl->Expand( sel );
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case WXK_SUBTRACT:
|
case WXK_SUBTRACT:
|
||||||
|
case WXK_LEFT:
|
||||||
if( type == LIB_TREE_NODE::LIB )
|
if( type == LIB_TREE_NODE::LIB )
|
||||||
m_tree_ctrl->Collapse( sel );
|
m_tree_ctrl->Collapse( sel );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue