From 3b106ab4044fa7486581acec5bd46ff75578fffb Mon Sep 17 00:00:00 2001 From: George Reales Date: Sun, 31 Oct 2021 12:01:02 +0100 Subject: [PATCH] Update PluginEditor.cpp Fixes macOS file dialog focus issue on ProTools --- Source/PluginEditor.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/PluginEditor.cpp b/Source/PluginEditor.cpp index 85f52ef..deb5cb1 100755 --- a/Source/PluginEditor.cpp +++ b/Source/PluginEditor.cpp @@ -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: " <