mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-23 09:09:28 +00:00
cleaned up password creator display in appdelegate
This commit is contained in:
@@ -195,9 +195,7 @@ NSString *const MPDidChangeStoredKeyFilesSettings = @"com.hicknhack.macpass.MPDi
|
||||
}
|
||||
if(!self.passwordCreatorController) {
|
||||
self.passwordCreatorController = [[MPPasswordCreatorViewController alloc] init];
|
||||
self.passwordCreatorController.closeTarget = self.passwordCreatorWindow;
|
||||
NSView *creatorView = [_passwordCreatorController view];
|
||||
[self.passwordCreatorWindow setContentView:creatorView];
|
||||
self.passwordCreatorWindow.contentView = self.passwordCreatorController.view;
|
||||
[self.passwordCreatorController updateResponderChain];
|
||||
}
|
||||
[self.passwordCreatorController reset];
|
||||
|
||||
Reference in New Issue
Block a user