From 252f80b161eb29a1d4167473af6251b6f10f4255 Mon Sep 17 00:00:00 2001 From: michael starke Date: Wed, 5 Aug 2015 17:27:18 +0200 Subject: [PATCH] Fixed crash on closing the settings window Signed-off-by: michael starke --- MacPass/MPSheetWindowController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MacPass/MPSheetWindowController.m b/MacPass/MPSheetWindowController.m index c4bb8ea1..c87a6d09 100644 --- a/MacPass/MPSheetWindowController.m +++ b/MacPass/MPSheetWindowController.m @@ -30,7 +30,7 @@ - (void)dismissSheet:(NSInteger)returnCode { self.isDirty = YES; - [NSApp endSheet:[super window] returnCode:returnCode]; [[super window] orderOut:self]; + [NSApp endSheet:[super window] returnCode:returnCode]; } @end