Navigation Menu

Skip to content

Commit

Permalink
#5108: Use the prefab icon, as before the refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
codereader committed Nov 19, 2020
1 parent ab5307a commit 0d9be84
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions radiant/ui/prefabselector/PrefabSelector.cpp
Expand Up @@ -44,6 +44,7 @@ namespace
const std::string RKEY_SPLIT_POS = RKEY_BASE + "splitPos";

const char* const PREFAB_FOLDER = "prefabs/";
const char* const PREFAB_FILE_ICON = "cmenu_add_prefab.png";

const std::string RKEY_LAST_CUSTOM_PREFAB_PATH = RKEY_BASE + "lastPrefabPath";
const std::string RKEY_RECENT_PREFAB_PATHS = RKEY_BASE + "recentPaths";
Expand Down Expand Up @@ -329,6 +330,7 @@ void PrefabSelector::setupTreeView(wxWindow* parent)
}

_treeView->SetFileExtensions(fileExtensions);
_treeView->SetDefaultFileIcon(PREFAB_FILE_ICON);
}

std::string PrefabSelector::getPrefabFolder()
Expand Down

0 comments on commit 0d9be84

Please sign in to comment.