Update PluginEditor.cpp
Fixes macOS file dialog focus issue on ProTools
This commit is contained in:
parent
d79cea31f1
commit
3b106ab404
1 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue