Skip to content

Commit

Permalink
Fix auto-rename after PDF recognition (wrong pref in f8b41c9)
Browse files Browse the repository at this point in the history
  • Loading branch information
dstillman committed Mar 1, 2018
1 parent da49f99 commit 757709c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chrome/content/zotero/xpcom/recognizePDF.js
Expand Up @@ -268,7 +268,7 @@ Zotero.RecognizePDF = new function () {
});

// Rename attachment file to match new metadata
if (Zotero.Prefs.get('renameAttachmentFiles')) {
if (Zotero.Prefs.get('renameAttachmentFiles.automatic')) {
let path = attachment.getFilePath();
let ext = Zotero.File.getExtension(path);
let fileBaseName = Zotero.Attachments.getFileBaseNameFromItem(parentItem);
Expand Down

0 comments on commit 757709c

Please sign in to comment.