mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-14 12:52:21 +00:00
Fixed issue with blank outline and entry views if the inspector was hidden before unlocking the database.
This commit is contained in:
@@ -354,18 +354,18 @@ typedef NS_ENUM(NSUInteger, MPAlertContext) {
|
||||
options:0
|
||||
metrics:nil
|
||||
views:views]];
|
||||
/* Restore the State the inspector view was in before the view change */
|
||||
if(removeInspector) {
|
||||
[inspectorView removeFromSuperview];
|
||||
}
|
||||
[contentView layoutSubtreeIfNeeded];
|
||||
|
||||
[_entryViewController updateResponderChain];
|
||||
[_inspectorViewController updateResponderChain];
|
||||
[_outlineViewController updateResponderChain];
|
||||
/* Custom setup after being added to window */
|
||||
[_inspectorViewController prepareView];
|
||||
[_outlineViewController showOutline];
|
||||
|
||||
/* Restore the State the inspector view was in before the view change */
|
||||
if(removeInspector) {
|
||||
[inspectorView removeFromSuperview];
|
||||
}
|
||||
[contentView layoutSubtreeIfNeeded];
|
||||
}
|
||||
|
||||
#pragma mark Validation
|
||||
|
||||
Reference in New Issue
Block a user