Commit 280f16e5 authored by dionoea's avatar dionoea
Browse files

add KEY_ENTER and KEY_SPACE to launch action()

parent 7770c2f2
......@@ -322,6 +322,14 @@ void CtrlTree::handleEvent( EvtGeneric &rEvent )
}
}
}
else if( key == KEY_ENTER || key == KEY_SPACE )
{
// Go up one level (and close node)
if( &*it == m_pLastSelected )
{
m_rTree.action( &*it );
}
}
it = next;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment