aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableView.h
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2011-04-10 15:35:43 +0000
committerrowanbeentje <rowan@beent.je>2011-04-10 15:35:43 +0000
commit0930c6b49fa7988cb14bdd5fe81c71d5d27f1936 (patch)
tree53815f39cfd69070e908c148f9f48b76ff512645 /Source/SPTableView.h
parent15d0b8bac7736e249e121492ea119e43b61d6bca (diff)
downloadsequelpro-0930c6b49fa7988cb14bdd5fe81c71d5d27f1936.tar.gz
sequelpro-0930c6b49fa7988cb14bdd5fe81c71d5d27f1936.tar.bz2
sequelpro-0930c6b49fa7988cb14bdd5fe81c71d5d27f1936.zip
- Add support in SPTableView to disable edit-on-tab behaviour
- Use this new support in SPTablesList to prevent the tab key entering rename mode when focus is on the table list - this addresses Issue #1028
Diffstat (limited to 'Source/SPTableView.h')
-rw-r--r--Source/SPTableView.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/SPTableView.h b/Source/SPTableView.h
index 6914723d..e39df82f 100644
--- a/Source/SPTableView.h
+++ b/Source/SPTableView.h
@@ -23,5 +23,10 @@
// More info at <http://code.google.com/p/sequel-pro/>
@interface SPTableView : NSTableView
+{
+ BOOL tabEditingDisabled;
+}
+
+@property (readwrite, assign) BOOL tabEditingDisabled;
@end