Blender Git Loki
Git Commits -> Revision dbe3981
Revision dbe3981 by Julian Eisel (master) October 5, 2021, 14:10 (GMT) |
Cleanup: Better way to pass activate callbacks to Tree-View items The `ui::BasicTreeViewItem` took a function-like object to execute on item activation via the constructor. This was mainly intended to be used with lambdas. However, it's confusing to just have this lambda there, with no indication of what it's for (activation). Instead, assign the function-like object via an explicit `on_activate()` function. |
Commit Details:
Full Hash: dbe3981b0a805c1a40f42f57dc7ccc3d28270fda
Parent Commit: 9a0850c
Lines Changed: +21, -12