Revision: 11887
          http://bibdesk.svn.sourceforge.net/bibdesk/?rev=11887&view=rev
Author:   hofman
Date:     2007-12-12 13:46:21 -0800 (Wed, 12 Dec 2007)

Log Message:
-----------
Don't show warning when entering invalid cite key characters.

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

Modified: trunk/bibdesk/BDSKEditor.m
===================================================================
--- trunk/bibdesk/BDSKEditor.m  2007-12-12 21:34:48 UTC (rev 11886)
+++ trunk/bibdesk/BDSKEditor.m  2007-12-12 21:46:21 UTC (rev 11887)
@@ -1580,15 +1580,7 @@
 
 // send by the formatter when validation failed
 - (void)control:(NSControl *)control didFailToValidatePartialString:(NSString 
*)string errorDescription:(NSString *)error{
-    if(error != nil){
-        NSAlert *alert = [NSAlert 
alertWithMessageText:NSLocalizedString(@"Invalid Entry", @"Message in alert 
dialog when entering invalid entry") 
-                                         defaultButton:nil
-                                       alternateButton:nil
-                                           otherButton:nil
-                             informativeTextWithFormat:@"%@", error];
-        
-        [alert beginSheetModalForWindow:[self window] modalDelegate:nil 
didEndSelector:NULL contextInfo:nil];
-    }
+    // Don't show an annoying warning. This fails only when invalid cite key 
characters are used, which are simply removed by the formatter.
 }
 
 // send by the formatter when formatting in getObjectValue... failed


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

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to