KeyPress fix
This commit is contained in:
parent
c9f5a66302
commit
e02c34ffe3
2 changed files with 3 additions and 0 deletions
|
@ -22,6 +22,7 @@ ObxdAudioProcessorEditor::ObxdAudioProcessorEditor (ObxdAudioProcessor& ownerFil
|
|||
skins (processor.getSkinFiles()),
|
||||
banks (processor.getBankFiles())
|
||||
{
|
||||
|
||||
// skinFolder = ownerFilter.getCurrentSkinFolder(); // initialized above
|
||||
commandManager.registerAllCommandsForTarget(this);
|
||||
commandManager.setFirstCommandTarget(this);
|
||||
|
|
|
@ -100,11 +100,13 @@ public:
|
|||
case KeyPressCommandIDs::buttonNextProgram:
|
||||
case KeyPressCommandIDs::buttonPadNextProgram:
|
||||
nextProgram();
|
||||
grabKeyboardFocus();
|
||||
break;
|
||||
|
||||
case KeyPressCommandIDs::buttonPrevProgram:
|
||||
case KeyPressCommandIDs::buttonPadPrevProgram:
|
||||
prevProgram();
|
||||
grabKeyboardFocus();
|
||||
break;
|
||||
default:
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue