diff --git a/gerrit-gwtui/src/main/java/com/google/gerrit/client/change/ReplyBox.java b/gerrit-gwtui/src/main/java/com/google/gerrit/client/change/ReplyBox.java index 4e77041456..5b8135c492 100644 --- a/gerrit-gwtui/src/main/java/com/google/gerrit/client/change/ReplyBox.java +++ b/gerrit-gwtui/src/main/java/com/google/gerrit/client/change/ReplyBox.java @@ -475,7 +475,7 @@ class ReplyBox extends Composite { void select(LabelRadioButton b) { selected = b; - labelsTable.setText(row, labelHelpColumn, b.value != 0 ? b.text : ""); + labelsTable.setText(row, labelHelpColumn, b.text); } void selectMax() { @@ -532,7 +532,7 @@ class ReplyBox extends Composite { @Override public void onMouseOut(MouseOutEvent event) { LabelRadioButton b = group.selected; - String s = b != null && b.value != 0 ? b.text : ""; + String s = b != null ? b.text : ""; labelsTable.setText(group.row, labelHelpColumn, s); } }