From b6494e701973b6ca43d758b251d4864878ecba27 Mon Sep 17 00:00:00 2001 From: Grant Paul Date: Fri, 18 Feb 2011 01:26:23 -0800 Subject: [PATCH] Properly update title of SourceController when reloading. --- MobileCydia.mm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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]; } -- 2.45.2