diff --git a/modules/juce_gui_basics/native/juce_mac_NSViewComponentPeer.mm b/modules/juce_gui_basics/native/juce_mac_NSViewComponentPeer.mm index 94eed9f4da..2c2f13948e 100644 --- a/modules/juce_gui_basics/native/juce_mac_NSViewComponentPeer.mm +++ b/modules/juce_gui_basics/native/juce_mac_NSViewComponentPeer.mm @@ -202,7 +202,9 @@ public: { if (shouldBeVisible) { + ++insideToFrontCall; [window orderFront: nil]; + --insideToFrontCall; handleBroughtToFront(); } else