From 34afe5f0d03672b08f82570218cb2bbb8a17818c Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Sat, 12 Sep 2009 00:23:13 +0000 Subject: [PATCH] (trunk) hopefull fix #2354 - end editing of the tracker table before attempting torrent creation --- macosx/CreatorWindowController.m | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/macosx/CreatorWindowController.m b/macosx/CreatorWindowController.m index 57a390eb9..da8e3a83a 100644 --- a/macosx/CreatorWindowController.m +++ b/macosx/CreatorWindowController.m @@ -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];