aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/SPFieldEditorController.m2
-rw-r--r--Source/SPTableContent.m2
2 files changed, 3 insertions, 1 deletions
diff --git a/Source/SPFieldEditorController.m b/Source/SPFieldEditorController.m
index 0362c430..003ab9cb 100644
--- a/Source/SPFieldEditorController.m
+++ b/Source/SPFieldEditorController.m
@@ -302,7 +302,7 @@
[editTextScrollView setHidden:YES];
// Hide QuickLook button and text/image/hex control for text data
- [editSheetQuickLookButton setHidden:(!_isBlob && !_isBINARY && _isGeometry)];
+ [editSheetQuickLookButton setHidden:((!_isBlob && !_isBINARY) || _isGeometry)];
[editSheetSegmentControl setHidden:(!_isBlob && !_isBINARY && !_isGeometry)];
[editSheetSegmentControl setEnabled:YES forSegment:1];
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;