mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-192349: fixed NPE
broken in IDEA-163208: fix order of message dialog buttons fixed IDEA-192349 'Open project in a new window' confirmation popup broken: shows several popups instead of one, leads to inability to quit IDE (regression)
This commit is contained in:
@@ -142,7 +142,8 @@ class SheetMessage implements Disposable {
|
||||
LaterInvocator.enterModal(myWindow);
|
||||
final Runnable closer = _showTouchBar(buttons, defaultButton);
|
||||
myWindow.setVisible(true);
|
||||
closer.run();
|
||||
if (closer != null)
|
||||
closer.run();
|
||||
LaterInvocator.leaveModal(myWindow);
|
||||
|
||||
Component focusCandidate = beforeShowFocusOwner.get();
|
||||
|
||||
Reference in New Issue
Block a user