mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user