mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-13 21:42:32 +00:00
Fixed crash that occurred while reopening a document after closing another one
This commit is contained in:
@@ -115,6 +115,8 @@ NSString *const _toggleFilterUsernameButton = @"SearchUsername";
|
||||
}
|
||||
|
||||
- (void)dealloc {
|
||||
[[NSNotificationCenter defaultCenter] removeObserver:self];
|
||||
|
||||
self.entryArrayController = nil;
|
||||
self.filteredEntries = nil;
|
||||
self.filterBar = nil;
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user