IDEA-159597 Mac Native File Chooser: when a modal dialog is shown with native file chooser, it's possible to bring main IDEA frame to the foreground

This commit is contained in:
Denis Fokin
2016-08-12 15:59:19 +03:00
parent aba80c949e
commit 551743189e
@@ -83,7 +83,9 @@ public class OwnerOptional {
}
public OwnerOptional ifNull(Consumer<Frame> consumer) {
consumer.consume((Frame)this.myPermanentOwner);
if (myPermanentOwner == null) {
consumer.consume(null);
}
return this;
}