Unverified Commit c3e53c49 authored by Marius van den Beek's avatar Marius van den Beek Committed by GitHub
Browse files

Merge pull request #17117 from bernt-matthias/fix/tool_panel_dups_in_section

[23.1] Remove duplicates when copying sections for tool panel view
parents 3fcd02a1 efa2f58d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -105,7 +105,7 @@ class StaticToolPanelView(ToolPanelView):
                                f"Failed to find matching section for (id, name) = ({section_def.id}, {section_def.name})"
                            )
                            continue
                        section = closest_section.copy()
                        section = closest_section.copy(merge_tools=True)
                        if section_def.id is not None:
                            section.id = section_def.id
                        if section_def.name is not None: