add the standard close button to the Add window

This commit is contained in:
Mitchell Livingston
2008-01-16 23:17:36 +00:00
parent b9f6a86c63
commit 88053029bb
3 changed files with 260 additions and 254 deletions
+6
View File
@@ -190,6 +190,12 @@
}
- (void) cancelAdd: (id) sender
{
[[self window] performClose: sender];
}
//only called on cancel
- (BOOL) windowShouldClose: (id) window
{
[fTimer invalidate];
fTimer = nil;