From: Grant Paul Date: Fri, 18 Feb 2011 09:26:23 +0000 (-0800) Subject: Properly update title of SourceController when reloading. X-Git-Tag: v1.1.0%b1~320 X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/b6494e701973b6ca43d758b251d4864878ecba27 Properly update title of SourceController when reloading. --- diff --git a/MobileCydia.mm b/MobileCydia.mm index 3d2e83db..1c7cdd62 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -7669,7 +7669,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { source_ = source; key_ = [[source key] retain]; - if ((self = [super initWithDatabase:database title:[source label] filter:@selector(isVisibleInSource:) with:source]) != nil) { + if ((self = [super initWithDatabase:database title:[source_ label] filter:@selector(isVisibleInSource:) with:source_]) != nil) { } return self; } @@ -7678,6 +7678,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { [key_ release]; key_ = [[source_ key] retain]; [self setObject:source_]; + [[self navigationItem] setTitle:[source_ label]]; [super reloadData]; }