diff --git a/libs/wxutil/VFSTreePopulator.h b/libs/wxutil/VFSTreePopulator.h index 3e751fa767..64bc5625c3 100644 --- a/libs/wxutil/VFSTreePopulator.h +++ b/libs/wxutil/VFSTreePopulator.h @@ -83,6 +83,8 @@ class VFSTreePopulator * and cannot mix between these two, as this variant here does not keep track * of the "path-is-explicit" property and therefore doesn't support the * forEachNode() method being called with a Visitor. + * + * Note: the callback needs to invoke row.SendItemAdded() when done. */ void addPath(const std::string& path, const ColumnPopulationCallback& func); diff --git a/radiant/uimanager/SoundChooser.cpp b/radiant/uimanager/SoundChooser.cpp index 3f60b435ed..f529a1d1d0 100644 --- a/radiant/uimanager/SoundChooser.cpp +++ b/radiant/uimanager/SoundChooser.cpp @@ -75,6 +75,7 @@ class SoundShaderPopulator : wxDataViewIconText(leafName, isFolder ? _folderIcon : _shaderIcon)); row[_columns.shaderName] = !isFolder ? shader.getName() : std::string(); row[_columns.isFolder] = isFolder; + row.SendItemAdded(); }); } };