summaryrefslogtreecommitdiff
path: root/ios
diff options
context:
space:
mode:
authorSiqi LIU <me@siqi.fr>2013-08-30 05:52:59 +0200
committerSiqi LIU <me@siqi.fr>2013-08-30 10:58:38 +0200
commite6d0366e1f5561c60e713dc2b4f7c957310c47f8 (patch)
treea74432c61aed2be808adae99b0b5a7c136307a9c /ios
parent492d96c54944a3b51f1c975cba9c78974e9d9810 (diff)
roll back to server list page when connection lost for iPhone
Change-Id: I3d7a5ff0918ef63b3455e3acd5c447aa333e76ec
Diffstat (limited to 'ios')
-rw-r--r--ios/iosremote/iosremote/Communication/CommunicationManager.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/ios/iosremote/iosremote/Communication/CommunicationManager.m b/ios/iosremote/iosremote/Communication/CommunicationManager.m
index e92df8ce3cb3..3c003d03d135 100644
--- a/ios/iosremote/iosremote/Communication/CommunicationManager.m
+++ b/ios/iosremote/iosremote/Communication/CommunicationManager.m
@@ -83,6 +83,7 @@
otherButtonTitles:NSLocalizedString(@"Help", nil), nil];
[message show];
});
+ [[self.delegate navigationController] popToRootViewControllerAnimated:YES];
[(server_list_vc *)self.delegate startSearching];
} else {
[[self.delegate navigationController] popToRootViewControllerAnimated:YES];