Commit a3a09ff0 authored by Erwan Tulou's avatar Erwan Tulou

skins2: also enable key accelerators when focus on playlist

parent b8da66d6
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
#include "../src/generic_bitmap.hpp" #include "../src/generic_bitmap.hpp"
#include "../src/generic_font.hpp" #include "../src/generic_font.hpp"
#include "../src/scaled_bitmap.hpp" #include "../src/scaled_bitmap.hpp"
#include "../src/dialogs.hpp"
#include "../utils/position.hpp" #include "../utils/position.hpp"
#include "../utils/ustring.hpp" #include "../utils/ustring.hpp"
#include "../events/evt_key.hpp" #include "../events/evt_key.hpp"
...@@ -382,8 +383,7 @@ void CtrlTree::handleEvent( EvtGeneric &rEvent ) ...@@ -382,8 +383,7 @@ void CtrlTree::handleEvent( EvtGeneric &rEvent )
{ {
// other keys to be forwarded to vlc core // other keys to be forwarded to vlc core
EvtKey& rEvtKey = (EvtKey&)rEvent; EvtKey& rEvtKey = (EvtKey&)rEvent;
var_SetInteger( getIntf()->p_libvlc, "key-pressed", getIntf()->p_sys->p_dialogs->sendKey( rEvtKey.getModKey() );
rEvtKey.getModKey() );
} }
} }
......
Markdown is supported
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