summaryrefslogtreecommitdiffstats
path: root/src/Store.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Store.cpp')
-rw-r--r--src/Store.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Store.cpp b/src/Store.cpp
index 1767b4f5..2c7294a8 100644
--- a/src/Store.cpp
+++ b/src/Store.cpp
@@ -109,7 +109,7 @@ Store::rename(const iterator top, const Raul::Path& new_path)
: new_path.child(
Raul::Path(i->first.substr(old_path.base().length() - 1)));
- i->second->set_path(path);
+ i->second->set_uri(path_to_uri(path));
assert(find(path) == end()); // Shouldn't be dropping objects!
insert(make_pair(path, i->second));
}