Fixed crash when typing asset name and clicking browse (#5495)
This commit is contained in:
+2
-2
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user