Revision: 7207
http://skim-app.svn.sourceforge.net/skim-app/?rev=7207&view=rev
Author: hofman
Date: 2011-04-08 16:45:22 +0000 (Fri, 08 Apr 2011)
Log Message:
-----------
make main window key and use local variable
Modified Paths:
--------------
trunk/SKSelectCommand.m
Modified: trunk/SKSelectCommand.m
===================================================================
--- trunk/SKSelectCommand.m 2011-04-08 11:13:55 UTC (rev 7206)
+++ trunk/SKSelectCommand.m 2011-04-08 16:45:22 UTC (rev 7207)
@@ -51,9 +51,10 @@
id doc = [[[selection pages] lastObject] containingDocument];
if ([doc respondsToSelector:@selector(pdfView)]) {
- [doc showWindows];
- [[doc pdfView] setCurrentSelection:selection];
- [[doc pdfView] goToSelection:selection];
+ SKPDFView *pdfView = [doc pdfView];
+ [[pdfView window] makeKeyAndOrderFront:nil];
+ [pdfView setCurrentSelection:selection];
+ [pdfView goToSelection:selection];
}
return nil;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit