Fixed crash that occurred while reopening a document after closing another one

This commit is contained in:
michael starke
2013-05-18 01:50:09 +02:00
parent 8a21b194df
commit 130a14de54
3 changed files with 4 additions and 2 deletions

View File

@@ -115,6 +115,8 @@ NSString *const _toggleFilterUsernameButton = @"SearchUsername";
}
- (void)dealloc {
[[NSNotificationCenter defaultCenter] removeObserver:self];
self.entryArrayController = nil;
self.filteredEntries = nil;
self.filterBar = nil;

View File

@@ -110,7 +110,7 @@
NSLayoutConstraint *remove = [self isVisible] ? self.showConstraint : self.hideConstraint;
[[self view] removeConstraint:remove];
[[self view] addConstraint:add];
[[self view] layout];
[[[self view] window] layoutIfNeeded];
}
- (void)_updateContent {

View File

@@ -46,7 +46,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>6E9</string>
<string>6EE</string>
<key>LSMinimumSystemVersion</key>
<string>${MACOSX_DEPLOYMENT_TARGET}</string>
<key>NSHumanReadableCopyright</key>