diff --git a/Source/PluginEditor.cpp b/Source/PluginEditor.cpp index 3b733b0..36e3953 100755 --- a/Source/PluginEditor.cpp +++ b/Source/PluginEditor.cpp @@ -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); diff --git a/Source/PluginEditor.h b/Source/PluginEditor.h index a8bb5c3..586ee8c 100755 --- a/Source/PluginEditor.h +++ b/Source/PluginEditor.h @@ -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;