FileManager: rename hasSidecarDir to hasSidecarFile

Fixes #2550

Cf. b502047635
This commit is contained in:
Frans de Jonge
2017-02-19 12:24:37 +01:00
committed by Qingping Hou
parent 1e095afb15
commit fed22b509d

View File

@@ -398,7 +398,7 @@ function FileManager:pasteHere(file)
file or file:match("(.*/)")
if self.cutfile then
-- if we move a file, also move its sidecar directory
if DocSettings:hasSidecarDir(orig) then
if DocSettings:hasSidecarFile(orig) then
self:moveFile(DocSettings:getSidecarDir(orig), dest) -- dest is always a directory
end
self:moveFile(orig, dest)