summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrant Paul <chpwn@chpwn.com>2011-01-22 22:05:04 -0800
committerGrant Paul <chpwn@chpwn.com>2011-01-22 22:05:04 -0800
commit8bacb67f37c8d04eb614fd1bb401bd489cb8253f (patch)
tree60273915968f93fff689f7babe2cefec21b49e1b
parent0be165c8572ed2963e0503c174f0c0b67ec521c0 (diff)
Fix -setPage: to not pop all the other tabs to the root controller.
-rw-r--r--MobileCydia.mm3
1 files changed, 0 insertions, 3 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 9bcfd68..dd2a6ff 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -8568,9 +8568,6 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
CYNavigationController *navController = (CYNavigationController *) [tabbar_ selectedViewController];
[navController setViewControllers:[NSArray arrayWithObject:page]];
- for (CYNavigationController *page in [tabbar_ viewControllers])
- if (page != navController)
- [page setViewControllers:nil];
}
- (void) tabBarController:(UITabBarController *)tabBarController didSelectViewController:(UIViewController *)viewController {