Fixed crash on closing the settings window

Signed-off-by: michael starke <michael.starke@hicknhack-software.com>
This commit is contained in:
michael starke
2015-08-05 17:27:18 +02:00
parent a1a3017ef4
commit 252f80b161

View File

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