mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-05-29 09:31:36 +02:00
Merge pull request #12684 from vladest/assetserver_wrong_dialog
Fix invalid message if cancel adding asset to AssetServer
This commit is contained in:
commit
9dcef996c5
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",
|
auto result = offscreenUi->inputDialog(OffscreenUi::ICON_INFORMATION, "Specify Asset Path",
|
||||||
dropEvent ? dropHelpText : helpText, mapping);
|
dropEvent ? dropHelpText : helpText, mapping);
|
||||||
|
|
||||||
if (!result.isValid()) {
|
if (!result.isValid() || result.toString() == "") {
|
||||||
completedCallback.call({ -1 });
|
completedCallback.call({ -1 });
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue