We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d2149c commit 7e7a949Copy full SHA for 7e7a949
bundles/org.eclipse.jface/src/org/eclipse/jface/window/Window.java
@@ -812,7 +812,7 @@ private void runEventLoop(Shell loopShell) {
812
813
//Use the display provided by the shell if possible
814
Display display;
815
- if (shell == null) {
+ if (loopShell == null) {
816
display = Display.getCurrent();
817
} else {
818
display = loopShell.getDisplay();
0 commit comments