mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-14 00:02:28 +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 {
|
- (void)dealloc {
|
||||||
|
[[NSNotificationCenter defaultCenter] removeObserver:self];
|
||||||
|
|
||||||
self.entryArrayController = nil;
|
self.entryArrayController = nil;
|
||||||
self.filteredEntries = nil;
|
self.filteredEntries = nil;
|
||||||
self.filterBar = nil;
|
self.filterBar = nil;
|
||||||
|
|||||||
@@ -110,7 +110,7 @@
|
|||||||
NSLayoutConstraint *remove = [self isVisible] ? self.showConstraint : self.hideConstraint;
|
NSLayoutConstraint *remove = [self isVisible] ? self.showConstraint : self.hideConstraint;
|
||||||
[[self view] removeConstraint:remove];
|
[[self view] removeConstraint:remove];
|
||||||
[[self view] addConstraint:add];
|
[[self view] addConstraint:add];
|
||||||
[[self view] layout];
|
[[[self view] window] layoutIfNeeded];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)_updateContent {
|
- (void)_updateContent {
|
||||||
|
|||||||
@@ -46,7 +46,7 @@
|
|||||||
<key>CFBundleSignature</key>
|
<key>CFBundleSignature</key>
|
||||||
<string>????</string>
|
<string>????</string>
|
||||||
<key>CFBundleVersion</key>
|
<key>CFBundleVersion</key>
|
||||||
<string>6E9</string>
|
<string>6EE</string>
|
||||||
<key>LSMinimumSystemVersion</key>
|
<key>LSMinimumSystemVersion</key>
|
||||||
<string>${MACOSX_DEPLOYMENT_TARGET}</string>
|
<string>${MACOSX_DEPLOYMENT_TARGET}</string>
|
||||||
<key>NSHumanReadableCopyright</key>
|
<key>NSHumanReadableCopyright</key>
|
||||||
|
|||||||
Reference in New Issue
Block a user