From ec5eab3636bf33422c6e540eefd38cc56685da99 Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Sat, 18 Sep 2010 18:14:34 +0000 Subject: - Prevent the table content from being filtered or pages through if a row is currently being edited and can't been saved cleanly. Addresses at least http://spbug.com/l/735 . --- Source/SPTableContent.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/SPTableContent.m b/Source/SPTableContent.m index 87526837..77033212 100644 --- a/Source/SPTableContent.m +++ b/Source/SPTableContent.m @@ -1153,6 +1153,7 @@ NSString *taskString; if ([tableDocumentInstance isWorking]) return; + if (![self saveRowOnDeselect]) return; [self setPaginationViewVisibility:FALSE]; // Select the correct pagination value @@ -1275,6 +1276,7 @@ */ - (IBAction) navigatePaginationFromButton:(id)sender { + if (![self saveRowOnDeselect]) return; if (sender == paginationPreviousButton) { if (contentPage <= 1) return; [paginationPageField setIntegerValue:(contentPage - 1)]; -- cgit v1.2.3