diff options
author | avenjamin <avenjamin@gmail.com> | 2010-09-15 15:02:20 +0000 |
---|---|---|
committer | avenjamin <avenjamin@gmail.com> | 2010-09-15 15:02:20 +0000 |
commit | 0909c91b7f986dfe45600bbb6340c79401ccce47 (patch) | |
tree | 1f69435a59c49b7ce9ce675e8737e293fab4e70b /Source | |
parent | 00ac602d8ca381ce2086b3aa10ca21861e61aa6a (diff) | |
download | sequelpro-0909c91b7f986dfe45600bbb6340c79401ccce47.tar.gz sequelpro-0909c91b7f986dfe45600bbb6340c79401ccce47.tar.bz2 sequelpro-0909c91b7f986dfe45600bbb6340c79401ccce47.zip |
Add ability to double click the empty area of the tab bar to create a new tab.
- Slightly limited in that the addTabButton's target and action must be set for it to work.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/SPWindowController.m | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/SPWindowController.m b/Source/SPWindowController.m index 33a5ae74..341d8afa 100644 --- a/Source/SPWindowController.m +++ b/Source/SPWindowController.m @@ -61,6 +61,7 @@ [tabBar setCellMaxWidth:250]; [tabBar setCellOptimumWidth:250]; [tabBar setSelectsTabsOnMouseDown:YES]; + [tabBar setDoubleClickCreatesTab:YES]; [tabBar setTearOffStyle:PSMTabBarTearOffAlphaWindow]; [tabBar setUsesSafariStyleDragging:YES]; |