From e6497aafda5ecb92e1fe18f5e23999c2babec296 Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Thu, 16 Sep 2010 01:00:12 +0000 Subject: - 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 --- Source/SPTableStructure.h | 1 + 1 file changed, 1 insertion(+) (limited to 'Source/SPTableStructure.h') 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; -- cgit v1.2.3