]> git.saurik.com Git - cydia.git/commitdiff
Still untested, fixed title.
authorGrant Paul <chpwn@chpwn.com>
Thu, 23 Sep 2010 17:36:49 +0000 (10:36 -0700)
committerJay Freeman <saurik@Jay-Freemans-MacBook-Pro.local>
Mon, 4 Oct 2010 07:12:20 +0000 (00:12 -0700)
UICaboodle/BrowserView.mm

index 7855dcb30bf908c77d78e4258f6b09f9c8f4115e..1adf247b24333fd73e612d8a3eecea8951459df8 100644 (file)
@@ -1054,7 +1054,6 @@ static Class $UIWebBrowserView;
                        action:button_ ? @selector(customButtonClicked) : @selector(reloadButtonClicked)
                ];
                [[self navigationItem] setRightBarButtonItem:reloadItem animated:YES];
                        action:button_ ? @selector(customButtonClicked) : @selector(reloadButtonClicked)
                ];
                [[self navigationItem] setRightBarButtonItem:reloadItem animated:YES];
-               [[self navigationItem] setTitle:title_];
                [reloadItem release];
        }
 }
                [reloadItem release];
        }
 }
@@ -1073,6 +1072,7 @@ static Class $UIWebBrowserView;
         [self callFunction:finish_];
 
        [self applyRightButton];
         [self callFunction:finish_];
 
        [self applyRightButton];
+       if (![self isLoading]) [[self navigationItem] setTitle:title_];
 }
 
 - (bool) isLoading {
 }
 
 - (bool) isLoading {