Skip to content

Commit

Permalink
[Fix] Global keyboard shortcuts were no longer working in bridged plu…
Browse files Browse the repository at this point in the history
…gin editors.

git-svn-id: https://source.openmpt.org/svn/openmpt/trunk/OpenMPT@21750 56274372-70c3-4bfc-bfc3-4c3a0b034d27
  • Loading branch information
sagamusix committed Sep 25, 2024
1 parent b8f5522 commit be2c8c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mptrack/VSTEditor.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class COwnerVstEditor : public CAbstractVstEditor
LRESULT HandlePreTranslateMessage(UINT message, WPARAM wParam, LPARAM lParam)
{
MSG msg = {m_plugWindow, message, wParam, lParam, 0, {}};
return HandleKeyMessage(msg);
return PreTranslateMessage(&msg);
}

DECLARE_MESSAGE_MAP()
Expand Down

0 comments on commit be2c8c3

Please sign in to comment.