mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-111636 Create New Table dialog should not be modal (^Dmitry Avdeev, Greg Shrago)
This commit is contained in:
@@ -1504,12 +1504,14 @@ public abstract class DialogWrapper {
|
||||
Disposer.register(uiParent, myDisposable); // ensure everything is disposed on app quit
|
||||
}
|
||||
|
||||
myPeer.show().doWhenProcessed(new Runnable() {
|
||||
Disposer.register(myDisposable, new Disposable() {
|
||||
@Override
|
||||
public void run() {
|
||||
public void dispose() {
|
||||
result.setDone(isOK());
|
||||
}
|
||||
});
|
||||
|
||||
myPeer.show();
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user