Commit dbcaeb30 authored by Marian Durkovic's avatar Marian Durkovic

Fix for non-working DELETE key in Playlist on Win32

For some unknown reason, wxwidgets 2.6.3 always return WXK_NUMPAD_DELETE
even in case normal Delete key was pressed

Please consider backporting just for Win32 binaries.
parent 26b33258
......@@ -1146,7 +1146,7 @@ void Playlist::OnKeyDown( wxTreeEvent& event )
{
long keycode = event.GetKeyCode();
/* Delete selected items */
if( keycode == WXK_BACK || keycode == WXK_DELETE )
if( keycode == WXK_BACK || keycode == WXK_DELETE || keycode == WXK_NUMPAD_DELETE )
{
/* We send a dummy event */
OnDeleteSelection( event );
......
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