SideBySide2: Fix toggling of reviewed box
The flag should be unset if its already set. This is handled in the caller by saying !isReviewed() but the argument was ignored. Use the argument the caller supplied to ensure the correct state is used. Change-Id: I157090336065d7c3f8409d395c5ca53c03f940d5
This commit is contained in:
@@ -59,7 +59,7 @@ class ReviewedPanel extends Composite {
|
||||
}
|
||||
|
||||
void setReviewed(boolean reviewed) {
|
||||
checkBox.setValue(true, true);
|
||||
checkBox.setValue(reviewed, true);
|
||||
}
|
||||
|
||||
boolean isReviewed() {
|
||||
|
||||
Reference in New Issue
Block a user