From 12704a4d8b8bce6eca77e52f435702a252b2614c Mon Sep 17 00:00:00 2001 From: Bruno Sinou Date: Wed, 20 May 2015 17:04:05 +0000 Subject: [PATCH] Fix typo in condition statement git-svn-id: https://svn.argeo.org/commons/trunk@8122 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc --- .../src/org/argeo/eclipse/ui/EclipseUiUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.argeo.eclipse.ui/src/org/argeo/eclipse/ui/EclipseUiUtils.java b/org.argeo.eclipse.ui/src/org/argeo/eclipse/ui/EclipseUiUtils.java index 52eaf9b84..e2d5f2e81 100644 --- a/org.argeo.eclipse.ui/src/org/argeo/eclipse/ui/EclipseUiUtils.java +++ b/org.argeo.eclipse.ui/src/org/argeo/eclipse/ui/EclipseUiUtils.java @@ -146,7 +146,7 @@ public class EclipseUiUtils { lbl.setLayoutData(new GridData(SWT.RIGHT, SWT.CENTER, false, false)); Text txt = new Text(parent, SWT.LEAD | SWT.BORDER | SWT.PASSWORD); txt.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false)); - if (txt != null) + if (modifyListener != null) txt.addModifyListener(modifyListener); return txt; } -- 2.30.2