diff options
author | rowanbeentje <rowan@beent.je> | 2010-09-16 01:00:12 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2010-09-16 01:00:12 +0000 |
commit | e6497aafda5ecb92e1fe18f5e23999c2babec296 (patch) | |
tree | 12effaf3c01389084ba6ba25c2ec1480b662ef9f /Source/SPTableStructure.h | |
parent | cbb150b07fcb3a96db460a22c4eb5280d8bf9e08 (diff) | |
download | sequelpro-e6497aafda5ecb92e1fe18f5e23999c2babec296.tar.gz sequelpro-e6497aafda5ecb92e1fe18f5e23999c2babec296.tar.bz2 sequelpro-e6497aafda5ecb92e1fe18f5e23999c2babec296.zip |
- Consolidate structure and content row editing cancellation code into a single function in each class
- Tweak NSTableView subclasses to catch presses of the Escape key and ask the class to abort row editing. This makes Esc key behaviour much more consistent, and allows cancelling/reverting edits made via the mouse (eg checkboxes, dropdowns, enums), or after the cell editing has finished but the row is still selected.
- Remove debug
- Update localisable strings
Diffstat (limited to 'Source/SPTableStructure.h')
-rw-r--r-- | Source/SPTableStructure.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/SPTableStructure.h b/Source/SPTableStructure.h index 8a1fa32a..d5229153 100644 --- a/Source/SPTableStructure.h +++ b/Source/SPTableStructure.h @@ -85,6 +85,7 @@ - (IBAction)removeField:(id)sender; - (IBAction)resetAutoIncrement:(id)sender; - (IBAction)showOptimizedFieldType:(id)sender; +- (BOOL)cancelRowEditing; // Index sheet methods - (IBAction)closeSheet:(id)sender; |