Revision: 21568
          http://sourceforge.net/p/bibdesk/svn/21568
Author:   hofman
Date:     2017-10-06 17:28:40 +0000 (Fri, 06 Oct 2017)
Log Message:
-----------
explicitly return template name as display name

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

Modified: trunk/bibdesk/BDSKDocumentController.m
===================================================================
--- trunk/bibdesk/BDSKDocumentController.m      2017-10-06 06:30:20 UTC (rev 
21567)
+++ trunk/bibdesk/BDSKDocumentController.m      2017-10-06 17:28:40 UTC (rev 
21568)
@@ -437,6 +437,8 @@
         displayName = NSLocalizedString(@"Rich Text with Graphics (RTFD)", 
@"Popup menu title for Rich Text (RTFD)");
     else if([documentTypeName isEqualToString:[BDSKTemplate 
defaultStyleNameForFileType:@"doc"]])
         displayName = NSLocalizedString(@"Word Format (Doc)", @"Popup menu 
title for Word Format (Doc)");
+    else if ([[BDSKTemplate allStyleNames] containsObject:documentTypeName])
+        displayName = documentTypeName;
     else
         displayName = [super displayNameForType:documentTypeName];
     return displayName;

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


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bibdesk-commit mailing list
Bibdesk-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to