mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-211223 Borderless UI: Some dialogs have double title bars
This commit is contained in:
+8
@@ -154,6 +154,14 @@ public class FlatWelcomeFrame extends JFrame implements IdeFrame, Disposable, Ac
|
||||
UIUtil.decorateWindowHeader(getRootPane());
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addNotify() {
|
||||
if (IdeFrameDecorator.isCustomDecoration()) {
|
||||
JdkEx.setHasCustomDecoration(this);
|
||||
}
|
||||
super.addNotify();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void dispose() {
|
||||
if (myDisposed) {
|
||||
|
||||
Reference in New Issue
Block a user