summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrant Paul <chpwn@chpwn.com>2011-02-18 01:26:23 -0800
committerGrant Paul <chpwn@chpwn.com>2011-02-18 01:26:23 -0800
commitb6494e701973b6ca43d758b251d4864878ecba27 (patch)
tree05849237ff3734fb7f0910215110cc1a007f4dec
parentd669236d8282c4a509c16ae0082ebfcb0090ff22 (diff)
Properly update title of SourceController when reloading.
-rw-r--r--MobileCydia.mm3
1 files changed, 2 insertions, 1 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 3d2e83d..1c7cdd6 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];
}