Merge pull request #11935 from birarda/bug/atp-drop-actual-files-only

only attempt default asset upload for local files
This commit is contained in:
Clément Brisset 2017-12-08 17:18:49 -08:00 committed by GitHub
commit 18b9118518
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;