Revision: 7848
          http://skim-app.svn.sourceforge.net/skim-app/?rev=7848&view=rev
Author:   hofman
Date:     2012-12-12 00:50:15 +0000 (Wed, 12 Dec 2012)
Log Message:
-----------
Don't set pdfview as first responder after committing edit through 
doCommandBySelector, as the editor will be invalid and the pdfview should 
already be first responder

Modified Paths:
--------------
    trunk/SKTextNoteEditor.m

Modified: trunk/SKTextNoteEditor.m
===================================================================
--- trunk/SKTextNoteEditor.m    2012-12-11 18:02:28 UTC (rev 7847)
+++ trunk/SKTextNoteEditor.m    2012-12-12 00:50:15 UTC (rev 7848)
@@ -88,7 +88,6 @@
 - (BOOL)control:(NSControl *)control textView:(NSTextView *)textView 
doCommandBySelector:(SEL)command {
     if (command == @selector(insertNewline:) || command == 
@selector(insertTab:) || command == @selector(insertBacktab:)) {
         [pdfView commitEditing];
-        [[pdfView window] makeFirstResponder:pdfView];
         return YES;
     }
     return NO;

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to