cleaned up password creator display in appdelegate

This commit is contained in:
michael starke
2016-08-25 13:01:54 +02:00
parent e06ade6a8f
commit b7357e2e43
5 changed files with 21 additions and 35 deletions

View File

@@ -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];