summaryrefslogtreecommitdiffstats
path: root/ios/iosremote
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/iosremote
parentlayout autoSize adapted for iPhone WT pages (diff)
downloadcore-e6d0366e1f5561c60e713dc2b4f7c957310c47f8.tar.gz
core-e6d0366e1f5561c60e713dc2b4f7c957310c47f8.zip
roll back to server list page when connection lost for iPhone
Change-Id: I3d7a5ff0918ef63b3455e3acd5c447aa333e76ec
Diffstat (limited to 'ios/iosremote')
-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];