mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 17:17:58 +02:00
add trim prior to rename in AssetServer
This commit is contained in:
parent
979fda7c8b
commit
52ee2499fc
1 changed files with 2 additions and 0 deletions
|
@ -173,6 +173,8 @@ Window {
|
||||||
placeholderText: "Enter path here"
|
placeholderText: "Enter path here"
|
||||||
});
|
});
|
||||||
object.selected.connect(function(destinationPath) {
|
object.selected.connect(function(destinationPath) {
|
||||||
|
destinationPath = destinationPath.trim();
|
||||||
|
|
||||||
if (path == destinationPath) {
|
if (path == destinationPath) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue