1
0
Fork 0
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:
Mitchell Livingston 2009-09-12 00:23:13 +00:00
parent 7800e163f1
commit 34afe5f0d0

View file

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