Fix auto-rename after PDF recognition (wrong pref in f8b41c971
)
This commit is contained in:
parent
da49f9900f
commit
757709cf43
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue