Skip to content

Commit

Permalink
accessory view bug fixed. prepare for element was trying to add acces…
Browse files Browse the repository at this point in the history
…sory view to text field only when text field is nil.
  • Loading branch information
StDogbert committed Feb 28, 2014
1 parent 28d1ff3 commit 72446c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quickdialog/QEntryTableViewCell.m
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ - (void)prepareForElement:(QEntryElement *)element inTableView:(QuickDialogTable

if (_entryElement.hiddenToolbar){
_textField.inputAccessoryView = nil;
} else if (_textField==nil){
} else if (_textField!=nil){
UIToolbar *toolbar = [self createActionBar];
toolbar.barStyle = element.appearance.toolbarStyle;
toolbar.translucent = element.appearance.toolbarTranslucent;
Expand Down

0 comments on commit 72446c1

Please sign in to comment.