Revision: 5973
http://skim-app.svn.sourceforge.net/skim-app/?rev=5973&view=rev
Author: hofman
Date: 2009-10-31 15:40:29 +0000 (Sat, 31 Oct 2009)
Log Message:
-----------
use selected bookmark when no bookmark was clicked for doubleAction, because it
can be called from a keyDown
Modified Paths:
--------------
trunk/SKBookmarkController.m
Modified: trunk/SKBookmarkController.m
===================================================================
--- trunk/SKBookmarkController.m 2009-10-31 15:38:37 UTC (rev 5972)
+++ trunk/SKBookmarkController.m 2009-10-31 15:40:29 UTC (rev 5973)
@@ -387,6 +387,8 @@
- (IBAction)doubleClickBookmark:(id)sender {
NSInteger row = [outlineView clickedRow];
+ if (row == -1)
+ row = [outlineView selectedRow];
SKBookmark *bm = row == -1 ? nil : [outlineView itemAtRow:row];
if (bm && [bm bookmarkType] == SKBookmarkTypeBookmark)
[self openBookmark:bm];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit