]> git.saurik.com Git - cydia.git/commitdiff
Fix -setPage: to not pop all the other tabs to the root controller.
authorGrant Paul <chpwn@chpwn.com>
Sun, 23 Jan 2011 06:05:04 +0000 (22:05 -0800)
committerGrant Paul <chpwn@chpwn.com>
Sun, 23 Jan 2011 06:05:04 +0000 (22:05 -0800)
MobileCydia.mm

index 9bcfd680ccece0f91f208e947ee104ee05cc13ef..dd2a6ff6dd3936a599fb379175bb3e7e35e3d348 100644 (file)
@@ -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 {