Disable button for removal when there are no replicas

This commit is contained in:
Simon Pamies committed 2013-06-20 23:33:03 +02:00
1 parent 1cf09573e0
commit bf35cbf077
1 file changed
+1
@@ -229,6 +229,7 @@ public class ReplicationPanel extends FlowPanel {
if (!replicaRegistered) {
registeredReplicas.insertRow(i);
registeredReplicas.setWidget(i, 0, new Label(stringMessages.explainNoConnectionsFromReplicas()));
removeAllReplicas.setEnabled(false);
} else {
removeAllReplicas.setEnabled(true);
}