diff options
author | rowanbeentje <rowan@beent.je> | 2010-09-18 18:14:34 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2010-09-18 18:14:34 +0000 |
commit | ec5eab3636bf33422c6e540eefd38cc56685da99 (patch) | |
tree | 79abece3ec4a93395d31001a53aa098fb81b6c1c /Source | |
parent | 7437f0325133123acaaabd844be3d1f2701418df (diff) | |
download | sequelpro-ec5eab3636bf33422c6e540eefd38cc56685da99.tar.gz sequelpro-ec5eab3636bf33422c6e540eefd38cc56685da99.tar.bz2 sequelpro-ec5eab3636bf33422c6e540eefd38cc56685da99.zip |
- 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 .
Diffstat (limited to 'Source')
-rw-r--r-- | Source/SPTableContent.m | 2 |
1 files changed, 2 insertions, 0 deletions
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)]; |