From 35a829c87d617625d9b653db9eccd3f27460fd79 Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Tue, 27 Oct 2009 18:03:11 +0000
Subject: [PATCH] Fix a problem with the add remove panel that made that 'Add All' and 'Remove All' buttons not to appear.
---
opendj-sdk/opends/src/guitools/org/opends/guitools/controlpanel/ui/components/AddRemovePanel.java | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/opendj-sdk/opends/src/guitools/org/opends/guitools/controlpanel/ui/components/AddRemovePanel.java b/opendj-sdk/opends/src/guitools/org/opends/guitools/controlpanel/ui/components/AddRemovePanel.java
index bfbe8f7..eec6547 100644
--- a/opendj-sdk/opends/src/guitools/org/opends/guitools/controlpanel/ui/components/AddRemovePanel.java
+++ b/opendj-sdk/opends/src/guitools/org/opends/guitools/controlpanel/ui/components/AddRemovePanel.java
@@ -22,7 +22,7 @@
* CDDL HEADER END
*
*
- * Copyright 2008 Sun Microsystems, Inc.
+ * Copyright 2008-2009 Sun Microsystems, Inc.
*/
package org.opends.guitools.controlpanel.ui.components;
@@ -202,11 +202,11 @@
gbc.weighty = 1.0;
gbc.weightx = 1.0;
gbc.gridheight = 3;
- if ((displayOptions &= DISPLAY_ADD_ALL) != 0)
+ if ((displayOptions & DISPLAY_ADD_ALL) != 0)
{
gbc.gridheight ++;
}
- if ((displayOptions &= DISPLAY_REMOVE_ALL) != 0)
+ if ((displayOptions & DISPLAY_REMOVE_ALL) != 0)
{
gbc.gridheight ++;
}
@@ -238,7 +238,7 @@
gbc.insets = new Insets(5, 5, 0, 5);
add(add, gbc);
- if ((displayOptions &= DISPLAY_ADD_ALL) != 0)
+ if ((displayOptions & DISPLAY_ADD_ALL) != 0)
{
addAll = Utilities.createButton(
INFO_CTRL_PANEL_ADDREMOVE_ADD_ALL_BUTTON.get());
@@ -279,7 +279,7 @@
gbc.insets.top = 10;
add(remove, gbc);
- if ((displayOptions &= DISPLAY_REMOVE_ALL) != 0)
+ if ((displayOptions & DISPLAY_REMOVE_ALL) != 0)
{
removeAll = Utilities.createButton(
INFO_CTRL_PANEL_ADDREMOVE_REMOVE_ALL_BUTTON.get());
--
Gitblit v1.10.0