8000 Fix missing return value in closeButtonPressed. · matplotlib/matplotlib@57e320e · GitHub
[go: up one dir, main page]

Skip to content

Commit 57e320e

Browse files
committed
Fix missing return value in closeButtonPressed.
Accidentally removed in f7a432a.
1 parent 728f0e4 commit 57e320e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/_macosx.m

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1291,7 +1291,11 @@ - (NSRect)constrainFrameRect:(NSRect)rect toScreen:(NSScreen*)screen
12911291
return suggested;
12921292
}
12931293

1294-
- (BOOL)closeButtonPressed { gil_call_method(manager, "close"); }
1294+
- (BOOL)closeButtonPressed
1295+
{
1296+
gil_call_method(manager, "close");
1297+
return YES;
1298+
}
12951299

12961300
- (void)close
12971301
{

0 commit comments

Comments
 (0)
0