add trim prior to rename in AssetServer

This commit is contained in:
Stephen Birarda 2016-03-10 15:56:45 -08:00
parent 979fda7c8b
commit 52ee2499fc

View file

@ -173,6 +173,8 @@ Window {
placeholderText: "Enter path here"
});
object.selected.connect(function(destinationPath) {
destinationPath = destinationPath.trim();
if (path == destinationPath) {
return;
}