summaryrefslogtreecommitdiff
path: root/script-beta/core/rename.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script-beta/core/rename.lua')
-rw-r--r--script-beta/core/rename.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script-beta/core/rename.lua b/script-beta/core/rename.lua
index e2c98b6f..3d8d3d45 100644
--- a/script-beta/core/rename.lua
+++ b/script-beta/core/rename.lua
@@ -377,7 +377,7 @@ function m.rename(uri, pos, newname)
start = start,
finish = finish,
text = text,
- uri = guide.getUri(target),
+ uri = files.getOriginUri(guide.getUri(target)),
}
end)