mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Added assertion for request to show a popup when it is already shown
This commit is contained in:
@@ -703,6 +703,7 @@ public class AbstractPopup implements JBPopup {
|
||||
}
|
||||
|
||||
assert ApplicationManager.getApplication().isDispatchThread();
|
||||
assert myState == State.INIT : "Popup was already shown. Recreate a new instance to show again.";
|
||||
|
||||
debugState("show popup", State.INIT);
|
||||
myState = State.SHOWING;
|
||||
|
||||
Reference in New Issue
Block a user