Fixed issue resulting in opening the fix autotype window instead of a new document window (fixes #668)

This also fixes an isse resulting to save request not being shown when closing the document window but when closing the fix-autotype window.
This commit is contained in:
michael starke
2017-11-21 10:43:06 +01:00
parent 68a4864051
commit d051421f14
3 changed files with 5 additions and 5 deletions

View File

@@ -293,7 +293,7 @@ typedef void (^MPPasswordChangedBlock)(BOOL didChangePassword);
if(!self.fixAutotypeWindowController) {
self.fixAutotypeWindowController = [[MPFixAutotypeWindowController alloc] init];
}
[self.document addWindowController:self.fixAutotypeWindowController];
self.fixAutotypeWindowController.document = self.document;
[self.fixAutotypeWindowController.window makeKeyAndOrderFront:sender];
}