Skip to content
Snippets Groups Projects
Commit 7caf7560 authored by Goetz Lindenmaier's avatar Goetz Lindenmaier
Browse files

8340365: Position the first window of a window list

Backport-of: e97f0fe1b4046bfcc40e85ba1bee4f4c40053300
parent bd4c65d0
Branches
Tags
No related merge requests found
......@@ -349,11 +349,9 @@ public final class PassFailJFrame {
builder.positionWindows
.positionTestWindows(unmodifiableList(builder.testWindows),
builder.instructionUIHandler));
} else if (builder.testWindows.size() == 1) {
} else {
Window window = builder.testWindows.get(0);
positionTestWindow(window, builder.position);
} else {
positionTestWindow(null, builder.position);
}
}
showAllWindows();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment