mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-19 08:18:05 +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",
|
||||
dropEvent ? dropHelpText : helpText, mapping);
|
||||
|
||||
if (!result.isValid()) {
|
||||
if (!result.isValid() || result.toString() == "") {
|
||||
completedCallback.call({ -1 });
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue