mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:44:11 +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"
|
||||
});
|
||||
object.selected.connect(function(destinationPath) {
|
||||
destinationPath = destinationPath.trim();
|
||||
|
||||
if (path == destinationPath) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue