Skip to content

Commit

Permalink
Merge pull request escoz#488 from siancu/master
Browse files Browse the repository at this point in the history
selectionStyle is wrong for QLabelElement
  • Loading branch information
escoz committed May 2, 2013
2 parents b610b14 + e4581d5 commit 7e05b3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quickdialog/QLabelElement.m
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ - (UITableViewCell *)getCellForTableView:(QuickDialogTableView *)tableView contr
cell.detailTextLabel.text = [_value description];
cell.imageView.image = _image;
cell.accessoryType = _accessoryType != UITableViewCellAccessoryNone ? _accessoryType : ( self.sections!= nil || self.controllerAction!=nil ? UITableViewCellAccessoryDisclosureIndicator : UITableViewCellAccessoryNone);
cell.selectionStyle = self.sections!= nil || self.controllerAction!=nil ? UITableViewCellSelectionStyleBlue: UITableViewCellSelectionStyleNone;
cell.selectionStyle = self.sections!= nil || self.controllerAction!=nil || self.onSelected!=nil ? UITableViewCellSelectionStyleBlue: UITableViewCellSelectionStyleNone;

return cell;
}
Expand Down

0 comments on commit 7e05b3d

Please sign in to comment.