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

View file

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