[iOS] Enable cancel button, when search button was pressed on keyboard

This commit is contained in:
Kirill Zhdanovich 2013-02-01 12:38:03 +03:00 committed by Alex Zolotarev
parent 9ff20e6779
commit fe335bc65a

View file

@ -634,6 +634,7 @@ void setSearchType(search::SearchParams& params)
- (void)searchBarSearchButtonClicked:(UISearchBar *)searchBar
{
[m_searchBar resignFirstResponder];
[self enableCancelButton];
}
// Callback from suggestion cell, called when icon is selected