Fixed crash when typing asset name and clicking browse (#5495)

monroegm-disable-blank-issue-2
AMZN-AlexOteiza 5 years ago committed by GitHub
parent 23faf4d36a
commit edefb57cfd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1072,10 +1072,10 @@ namespace AzToolsFramework
RefreshAutocompleter();
}
// When focus is lost, clear the field if necessary
// When focus is lost, revert to the selected asset
if (!focus && m_incompleteFilename)
{
HandleFieldClear();
SetSelectedAssetID(GetCurrentAssetID());
}
}

Loading…
Cancel
Save