Restore delete right checkboxes in wild card project

I accidentally removed these in 5aa47fee31 when I tried to hide
them in normal projects.

Change-Id: I4a9983a7e1ad91d7286526f090c031793e5affc2
Signed-off-by: Shawn O. Pearce <sop@google.com>
Reviewed-by: Nico Sallembien <nsallembien@google.com>
This commit is contained in:
Shawn O. Pearce
2010-01-28 17:35:17 -08:00
parent 6f3b9ee614
commit a517cb5510

View File

@@ -408,7 +408,8 @@ public class ProjectRightsPanel extends Composite {
config.getApprovalTypes().getApprovalType(r.getApprovalCategoryId());
final AccountGroup group = groups.get(r.getAccountGroupId());
if (Gerrit.getConfig().getWildProject().equals(r.getProjectNameKey())) {
if (!projectName.equals(Gerrit.getConfig().getWildProject())
&& Gerrit.getConfig().getWildProject().equals(r.getProjectNameKey())) {
table.setText(row, 1, "");
} else {
table.setWidget(row, 1, new CheckBox());