diff options
author | Grant Paul <chpwn@chpwn.com> | 2011-01-22 22:05:04 -0800 |
---|---|---|
committer | Grant Paul <chpwn@chpwn.com> | 2011-01-22 22:05:04 -0800 |
commit | 8bacb67f37c8d04eb614fd1bb401bd489cb8253f (patch) | |
tree | 60273915968f93fff689f7babe2cefec21b49e1b | |
parent | 0be165c8572ed2963e0503c174f0c0b67ec521c0 (diff) |
Fix -setPage: to not pop all the other tabs to the root controller.
-rw-r--r-- | MobileCydia.mm | 3 |
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 { |