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 7b0f776 commit a44b3a9Copy full SHA for a44b3a9
tests/org.eclipse.ui.tests.harness/src/org/eclipse/ui/tests/harness/util/DialogCheck.java
@@ -104,8 +104,10 @@ public static void assertDialogTexts(Dialog dialog) {
104
public static Shell getShell() {
105
Shell shell = PlatformUI.getWorkbench()
106
.getActiveWorkbenchWindow().getShell();
107
- _verifyDialog = new VerifyDialog(shell);
108
- _verifyDialog.create();
+ if (_verifyDialog == null) {
+ _verifyDialog = new VerifyDialog(shell);
109
+ _verifyDialog.create();
110
+ }
111
return _verifyDialog.getShell();
112
}
113
0 commit comments