aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableContent.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-10-16 22:51:06 +0000
committerBibiko <bibiko@eva.mpg.de>2010-10-16 22:51:06 +0000
commit2fb64ce313440feb869c5c71dc71a84716c8b761 (patch)
tree9062917aa2eb75797744cbc24d475262deaa072b /Source/SPTableContent.m
parent23cbc5372a7bb06b491fe906956d6523e2e6daf7 (diff)
downloadsequelpro-2fb64ce313440feb869c5c71dc71a84716c8b761.tar.gz
sequelpro-2fb64ce313440feb869c5c71dc71a84716c8b761.tar.bz2
sequelpro-2fb64ce313440feb869c5c71dc71a84716c8b761.zip
• fixed issue to show/hide the Quicklook GUI item in the Field Editor Sheet
• attempt to solve the issue of storing ENUM fields in Content View correctly if the user interacts with the mouse on the comboxes for different rows - this addresses the issues 865 and 833
Diffstat (limited to 'Source/SPTableContent.m')
-rw-r--r--Source/SPTableContent.m2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/SPTableContent.m b/Source/SPTableContent.m
index 5a130b96..08b10d45 100644
--- a/Source/SPTableContent.m
+++ b/Source/SPTableContent.m
@@ -3647,6 +3647,8 @@
// Catch editing events in the row and if the row isn't currently being edited,
// start an edit. This allows edits including enum changes to save correctly.
+ if ( isEditingRow && [tableContentView selectedRow] != currentlyEditingRow )
+ [self saveRowOnDeselect];
if ( !isEditingRow ) {
[oldRow setArray:[tableValues rowContentsAtIndex:rowIndex]];
isEditingRow = YES;