Files
ResInsight/GrpcInterface/Python/rips
Kristian Bendiksen 5a083331b0 #14192 Python: Fix duplicate discrete property legend on repeated category-name calls
RimColorLegendCollection::deleteColorLegend erased the default-legend map
entry before looking the legend up, so findDefaultLegendForResult always
returned null and the old legend was never removed from m_customColorLegends.
Each set_discrete_property_category_names call for the same property left an
orphaned legend behind and appended a new one.

Look up the legend before erasing the map key, and guard against deleting a
standard legend that may have been registered as a default.
2026-06-10 18:02:07 +02:00
..
2025-05-16 15:46:45 +02:00
2025-05-16 15:46:45 +02:00
2025-05-16 15:46:45 +02:00
2025-12-02 16:03:56 +01:00
2025-05-16 15:46:45 +02:00