Fixed asset completer model for source handle picker.

Signed-off-by: Chris Galvan <chgalvan@amazon.com>
This commit is contained in:
Chris Galvan
2021-11-19 16:20:54 -06:00
committed by Chris Burel
parent b44541c440
commit ca5424dd7b
5 changed files with 48 additions and 8 deletions
@@ -29,12 +29,16 @@ namespace ScriptCanvasEditor
AzToolsFramework::AssetBrowser::AssetSelectionModel GetAssetSelectionModel() override;
void PopupAssetPicker() override;
void ClearAssetInternal() override;
void ConfigureAutocompleter() override;
void SetSourceAssetFilterPattern(const QString& filterPattern);
AZ::IO::Path GetSelectedSourcePath() const;
void SetSelectedSourcePath(const AZ::IO::Path& sourcePath);
public Q_SLOTS:
void OnAutocomplete(const QModelIndex& index) override;
private:
//! A regular expression pattern for filtering by source assets
//! If this is set, the PropertyAssetCtrl will be dealing with source assets