diff --git a/Source/Core/Editor/Windows/GUI_Window_AssetExplorer/GUI_Window_AssetExplorer.cpp b/Source/Core/Editor/Windows/GUI_Window_AssetExplorer/GUI_Window_AssetExplorer.cpp index 54cfc6d2a7..f36dd622e7 100644 --- a/Source/Core/Editor/Windows/GUI_Window_AssetExplorer/GUI_Window_AssetExplorer.cpp +++ b/Source/Core/Editor/Windows/GUI_Window_AssetExplorer/GUI_Window_AssetExplorer.cpp @@ -55,11 +55,11 @@ void Window_AssetExplorer::Draw() { // Check Type unsigned long Key = SystemUtils_->ERS_IOSubsystem_->UsedAssetIDs_[i]; std::string Type = SystemUtils_->ERS_IOSubsystem_->AssetIndexIOManager_->AssetTypeName_[Key]; - + std::string FileName = SystemUtils_->ERS_IOSubsystem_->AssetIndexIOManager_->AssetFileName_[Key]; if (Type == std::string("Model")) { - bool Selected = ImGui::Selectable(std::to_string(Key).c_str(), Key == SelectedModelIndex_); + bool Selected = ImGui::Selectable(FileName.c_str(), Key == SelectedModelIndex_); if (Selected) { SelectedModelIndex_ = Key; }