2
0
Fork 0

Update PluginEditor.cpp

Fixes macOS file dialog focus issue on ProTools
This commit is contained in:
George Reales 2021-10-31 12:01:02 +01:00
parent d79cea31f1
commit 3b106ab404
1 changed files with 3 additions and 3 deletions

View File

@ -50,15 +50,15 @@ ObxdAudioProcessorEditor::ObxdAudioProcessorEditor (ObxdAudioProcessor& ownerFil
getTopLevelComponent()->addKeyListener (commandManager.getKeyMappings());
//Timer::callAfterDelay (100, [this] { this->grabKeyboardFocus(); }); // ensure that key presses are sent to the KeyPressTarget object
if (PluginHostType().isProTools()) { } else { startTimer(100); }; // Fix ProTools file dialog focus issues
startTimer(100); // This will fix the issue
//startTimer(100); // This will fix the issue
DBG("W: " <<getWidth() << " H:" << getHeight());
loadSkin (processor);
updateFromHost();
switch(processor.gui_size)