only attempt default asset upload for local files

This commit is contained in:
Stephen Birarda 2017-12-05 15:42:44 -08:00
parent a5e671e0fd
commit 3265eb42f1

View file

@ -5974,7 +5974,7 @@ bool Application::acceptURL(const QString& urlString, bool defaultUpload) {
}
}
if (defaultUpload) {
if (defaultUpload && !url.fileName().isEmpty() && url.isLocalFile()) {
showAssetServerWidget(urlString);
}
return defaultUpload;