Skip to content

Commit

Permalink
[sdl/osx] - stop eating cmd+v keycombination away in sdlinput - appli…
Browse files Browse the repository at this point in the history
…cation handles the paste shortcut already - fixes non-working paste on non-osd-keyboard textfields for osx
  • Loading branch information
Memphiz committed Jan 7, 2015
1 parent 3327f5e commit 9e96d62
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions xbmc/windowing/WinEventsSDL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -457,19 +457,6 @@ bool CWinEventsSDL::ProcessOSXShortcuts(SDL_Event& event)
CApplicationMessenger::Get().Minimize();
return true;

case SDLK_v: // CMD-v to paste clipboard text
if (g_Windowing.IsTextInputEnabled())
{
const char *szStr = Cocoa_Paste();
if (szStr)
{
CGUIMessage msg(GUI_MSG_INPUT_TEXT, 0, 0);
msg.SetLabel(szStr);
g_windowManager.SendMessage(msg, g_windowManager.GetFocusedWindow());
}
}
return true;

default:
return false;
}
Expand Down

0 comments on commit 9e96d62

Please sign in to comment.