Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Grechuhin <i.grechuhin@gmail.com>2016-11-16 17:37:16 +0300
committerIlya Grechuhin <i.grechuhin@gmail.com>2016-11-16 17:37:16 +0300
commitf4440ee843de8fd2a9f2b836929acc83c23270bf (patch)
treeb4f3b8466eeafe681953b581c09e311bba37560a /iphone/Maps/Classes/CustomViews/MapViewControls
parent9cb80242f86a3c72345d8b895e2089560c3fa182 (diff)
[MAPSME-2976] [ios] Added viewport search no results alert.
Diffstat (limited to 'iphone/Maps/Classes/CustomViews/MapViewControls')
-rw-r--r--iphone/Maps/Classes/CustomViews/MapViewControls/Search/MWMSearchManager.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/iphone/Maps/Classes/CustomViews/MapViewControls/Search/MWMSearchManager.mm b/iphone/Maps/Classes/CustomViews/MapViewControls/Search/MWMSearchManager.mm
index 50745616c1..23c31a1238 100644
--- a/iphone/Maps/Classes/CustomViews/MapViewControls/Search/MWMSearchManager.mm
+++ b/iphone/Maps/Classes/CustomViews/MapViewControls/Search/MWMSearchManager.mm
@@ -130,9 +130,9 @@ typedef NS_ENUM(NSUInteger, MWMSearchManagerActionBarState) {
- (IBAction)textFieldTextDidChange:(UITextField *)textField
{
NSString * text = textField.text;
- [self clearFilter];
if (text.length > 0)
{
+ [self clearFilter];
if ([MWMConsole performCommand:text])
{
self.state = MWMSearchManagerStateHidden;