Skip to content

Commit 7e7a949

Browse files
committed
Minor fix to Window.Java. Incorrect shell was being called in if statement. Corrected to 'loopShell' which is the parameter created for this function.
1 parent 1d2149c commit 7e7a949

File tree

1 file changed

+1
-1
lines changed
  • bundles/org.eclipse.jface/src/org/eclipse/jface/window

1 file changed

+1
-1
lines changed

bundles/org.eclipse.jface/src/org/eclipse/jface/window/Window.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -812,7 +812,7 @@ private void runEventLoop(Shell loopShell) {
812812

813813
//Use the display provided by the shell if possible
814814
Display display;
815-
if (shell == null) {
815+
if (loopShell == null) {
816816
display = Display.getCurrent();
817817
} else {
818818
display = loopShell.getDisplay();

0 commit comments

Comments
 (0)