MoveToArchive: fix DocSettings:updateLocation() call (#11103)

Closes #11101.
This commit is contained in:
hius07
2023-11-13 19:51:04 +02:00
committed by GitHub
parent da8e23c011
commit ed46dca886

View File

@@ -106,7 +106,7 @@ function MoveToArchive:onMoveToArchive(do_copy)
require("readhistory"):updateItemByPath(document_full_path, dest_file) -- (will update "lastfile" if needed)
require("readcollection"):updateItemByPath(document_full_path, dest_file)
end
DocSettings:updateLocation(document_full_path, dest_file, do_copy)
DocSettings.updateLocation(document_full_path, dest_file, do_copy)
UIManager:show(ConfirmBox:new{
text = text,
ok_callback = function()