Revision: 18467
          http://bibdesk.svn.sourceforge.net/bibdesk/?rev=18467&view=rev
Author:   hofman
Date:     2012-02-02 13:58:21 +0000 (Thu, 02 Feb 2012)
Log Message:
-----------
don't show error when pasting, same as dropping and avoid double warning

Modified Paths:
--------------
    trunk/bibdesk/BibDocument_DataSource.m

Modified: trunk/bibdesk/BibDocument_DataSource.m
===================================================================
--- trunk/bibdesk/BibDocument_DataSource.m      2012-02-02 13:16:45 UTC (rev 
18466)
+++ trunk/bibdesk/BibDocument_DataSource.m      2012-02-02 13:58:21 UTC (rev 
18467)
@@ -908,9 +908,7 @@
 
 - (void)tableView:(NSTableView *)tv pasteFromPasteboard:(NSPasteboard *)pboard{
        if (tv == tableView) {
-        NSError *error = nil;
-        if ([self addPublicationsFromPasteboard:pboard selectLibrary:YES 
verbose:YES error:&error] == nil)
-            [tv presentError:error];
+        [self addPublicationsFromPasteboard:pboard selectLibrary:YES 
verbose:YES error:NULL];
     } else {
                NSBeep();
        }

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


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to