Skip to content

Commit e7fe50c

Browse files
committed
Fixed copy/paste error for WizardDialog.isModal()
Regression from #243 Fixes #3150
1 parent a7d2795 commit e7fe50c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bundles/org.eclipse.jface/src/org/eclipse/jface/wizard/WizardDialog.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ public WizardDialog setModal(boolean modal) {
370370
*/
371371
public boolean isModal() {
372372
return (getShellStyle() & SWT.PRIMARY_MODAL) == SWT.PRIMARY_MODAL
373-
|| (getShellStyle() & SWT.PRIMARY_MODAL) == SWT.APPLICATION_MODAL;
373+
|| (getShellStyle() & SWT.APPLICATION_MODAL) == SWT.APPLICATION_MODAL;
374374
}
375375

376376
/**

0 commit comments

Comments
 (0)