Fix auto-rename after PDF recognition (wrong pref in f8b41c971
)
This commit is contained in:
parent
da49f9900f
commit
757709cf43
|
@ -268,7 +268,7 @@ Zotero.RecognizePDF = new function () {
|
||||||
});
|
});
|
||||||
|
|
||||||
// Rename attachment file to match new metadata
|
// Rename attachment file to match new metadata
|
||||||
if (Zotero.Prefs.get('renameAttachmentFiles')) {
|
if (Zotero.Prefs.get('renameAttachmentFiles.automatic')) {
|
||||||
let path = attachment.getFilePath();
|
let path = attachment.getFilePath();
|
||||||
let ext = Zotero.File.getExtension(path);
|
let ext = Zotero.File.getExtension(path);
|
||||||
let fileBaseName = Zotero.Attachments.getFileBaseNameFromItem(parentItem);
|
let fileBaseName = Zotero.Attachments.getFileBaseNameFromItem(parentItem);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user