Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--jpa/plugins/org.eclipse.jpt.ui/src/org/eclipse/jpt/ui/internal/widgets/AddRemovePane.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.ui/src/org/eclipse/jpt/ui/internal/widgets/AddRemovePane.java b/jpa/plugins/org.eclipse.jpt.ui/src/org/eclipse/jpt/ui/internal/widgets/AddRemovePane.java
index 23f4bfc3a0..bdfc52026c 100644
--- a/jpa/plugins/org.eclipse.jpt.ui/src/org/eclipse/jpt/ui/internal/widgets/AddRemovePane.java
+++ b/jpa/plugins/org.eclipse.jpt.ui/src/org/eclipse/jpt/ui/internal/widgets/AddRemovePane.java
@@ -637,10 +637,7 @@ public abstract class AddRemovePane<T extends Model> extends Pane<T>
* @category UpdateButtons
*/
protected void updateAddButton(Button addButton) {
- addButton.setEnabled(
- enabled &&
- getSubject() != null
- );
+ addButton.setEnabled(enabled);
}
/**

Back to the top