mirror of
https://github.com/transmission/transmission.git
synced 2026-05-08 09:39:08 +01:00
add the standard close button to the Add window
This commit is contained in:
@@ -190,6 +190,12 @@
|
||||
}
|
||||
|
||||
- (void) cancelAdd: (id) sender
|
||||
{
|
||||
[[self window] performClose: sender];
|
||||
}
|
||||
|
||||
//only called on cancel
|
||||
- (BOOL) windowShouldClose: (id) window
|
||||
{
|
||||
[fTimer invalidate];
|
||||
fTimer = nil;
|
||||
|
||||
Reference in New Issue
Block a user