diff options
author | Julian Eisel <julian@blender.org> | 2022-07-20 17:44:15 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2022-07-20 18:16:15 +0300 |
commit | 0c6ae51d9f043c0914d68d36b221d91285a2da11 (patch) | |
tree | 39caa13c0e9542d64009184118603be4342b83d3 | |
parent | 712960cefd671433b58da903e45000820d364fee (diff) |
Fix missing registration of grid view items in the view
-rw-r--r-- | source/blender/editors/interface/views/grid_view.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/interface/views/grid_view.cc b/source/blender/editors/interface/views/grid_view.cc index 37fbb33f83b..54ed3fe1631 100644 --- a/source/blender/editors/interface/views/grid_view.cc +++ b/source/blender/editors/interface/views/grid_view.cc @@ -32,6 +32,7 @@ AbstractGridViewItem &AbstractGridView::add_item(std::unique_ptr<AbstractGridVie added_item.view_ = this; item_map_.add(added_item.identifier_, &added_item); + register_item(added_item); return added_item; } |