(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
+4
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];