Skip to content

Commit

Permalink
Fixes little issue with float on sample
Browse files Browse the repository at this point in the history
  • Loading branch information
escoz committed May 25, 2013
1 parent ea57ca6 commit 6b99848
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion quickdialog/QRootElement.m
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ - (UITableViewCell *)getCellForTableView:(QuickDialogTableView *)tableView contr
UITableViewCell *cell = [super getCellForTableView:tableView controller:controller];
cell.selectionStyle = UITableViewCellSelectionStyleBlue;
if (_title!= nil)
cell.textLabel.text = _title;
cell.textLabel.text = [NSString stringWithFormat:@"%@", _title];
return cell;
}

Expand Down
2 changes: 1 addition & 1 deletion sample/SampleDataBuilder.m
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ + (QElement *)createSampleControls {
slider.key = @"slider1";
[controls addElement:slider];

QDecimalElement *decimal = [[QDecimalElement alloc] initWithTitle:@"Decimal Element" value:0.5];
QDecimalElement *decimal = [[QDecimalElement alloc] initWithTitle:@"Decimal Element" value:@0.5];
decimal.key = @"decimal1";
decimal.fractionDigits = 2;
[controls addElement:decimal];
Expand Down

0 comments on commit 6b99848

Please sign in to comment.