mirror of
https://github.com/overte-org/overte.git
synced 2025-06-16 22:20:25 +02:00
only attempt default asset upload for local files
This commit is contained in:
parent
a5e671e0fd
commit
3265eb42f1
1 changed files with 1 additions and 1 deletions
|
@ -5974,7 +5974,7 @@ bool Application::acceptURL(const QString& urlString, bool defaultUpload) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (defaultUpload) {
|
if (defaultUpload && !url.fileName().isEmpty() && url.isLocalFile()) {
|
||||||
showAssetServerWidget(urlString);
|
showAssetServerWidget(urlString);
|
||||||
}
|
}
|
||||||
return defaultUpload;
|
return defaultUpload;
|
||||||
|
|
Loading…
Reference in a new issue