mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 13:33:38 +02:00
Fix invalid message if cancel adding asset to AssetServer
This commit is contained in:
parent
47437c9564
commit
faf8328d6a
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ void AssetMappingsScriptingInterface::uploadFile(QString path, QString mapping,
|
|||
auto result = offscreenUi->inputDialog(OffscreenUi::ICON_INFORMATION, "Specify Asset Path",
|
||||
dropEvent ? dropHelpText : helpText, mapping);
|
||||
|
||||
if (!result.isValid()) {
|
||||
if (!result.isValid() || result.toString() == "") {
|
||||
completedCallback.call({ -1 });
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue