mirror of
https://github.com/transmission/transmission
synced 2025-02-02 20:43:51 +00:00
(trunk) hopefull fix #2354 - end editing of the tracker table before attempting torrent creation
This commit is contained in:
parent
7800e163f1
commit
34afe5f0d0
1 changed files with 4 additions and 0 deletions
|
@ -223,6 +223,10 @@
|
|||
|
||||
- (void) create: (id) sender
|
||||
{
|
||||
//make sure the trackers are no longer being verified
|
||||
if ([fTrackerTable editedRow] != -1)
|
||||
[[self window] endEditingFor: fTrackerTable];
|
||||
|
||||
if ([fTrackers count] == 0 && [fDefaults boolForKey: @"WarningCreatorBlankAddress"])
|
||||
{
|
||||
NSAlert * alert = [[NSAlert alloc] init];
|
||||
|
|
Loading…
Reference in a new issue