From 52ee2499fc429ff832308edd969dd22af12aa7ca Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Thu, 10 Mar 2016 15:56:45 -0800 Subject: [PATCH] add trim prior to rename in AssetServer --- interface/resources/qml/AssetServer.qml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/interface/resources/qml/AssetServer.qml b/interface/resources/qml/AssetServer.qml index 9d4db830e2..a4421ac371 100644 --- a/interface/resources/qml/AssetServer.qml +++ b/interface/resources/qml/AssetServer.qml @@ -173,6 +173,8 @@ Window { placeholderText: "Enter path here" }); object.selected.connect(function(destinationPath) { + destinationPath = destinationPath.trim(); + if (path == destinationPath) { return; }