diff options
author | Grant Paul <chpwn@chpwn.com> | 2011-02-18 01:26:23 -0800 |
---|---|---|
committer | Grant Paul <chpwn@chpwn.com> | 2011-02-18 01:26:23 -0800 |
commit | b6494e701973b6ca43d758b251d4864878ecba27 (patch) | |
tree | 05849237ff3734fb7f0910215110cc1a007f4dec | |
parent | d669236d8282c4a509c16ae0082ebfcb0090ff22 (diff) |
Properly update title of SourceController when reloading.
-rw-r--r-- | MobileCydia.mm | 3 |
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]; } |