Revision: 18453
http://bibdesk.svn.sourceforge.net/bibdesk/?rev=18453&view=rev
Author: hofman
Date: 2012-01-30 11:05:00 +0000 (Mon, 30 Jan 2012)
Log Message:
-----------
let app present error
Modified Paths:
--------------
trunk/bibdesk/BibDocument.m
Modified: trunk/bibdesk/BibDocument.m
===================================================================
--- trunk/bibdesk/BibDocument.m 2012-01-30 10:40:34 UTC (rev 18452)
+++ trunk/bibdesk/BibDocument.m 2012-01-30 11:05:00 UTC (rev 18453)
@@ -2274,12 +2274,7 @@
if ([parseError code] == kBDSKParserIgnoredFrontMatter) {
// the partial data alert only applies to BibTeX; we could
show the editor window for non-BibTeX data (I think...), but we also have to
deal with alerts being shown twice if NSError is involved
// here we want to display an alert, but don't propagate a
nil/error back up, since it's not a failure
- NSAlert * alert = [NSAlert alertWithMessageText:[parseError
localizedDescription]
- defaultButton:nil
- alternateButton:nil
- otherButton:nil
- informativeTextWithFormat:[parseError
localizedRecoverySuggestion]];
- [alert runModal];
+ [NSApp presentError:parseError];
// @@ fixme: NSError
parseError = nil;
} else {
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
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-dev2
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit