mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Release 2023.06
This commit is contained in:
@@ -116,8 +116,7 @@ int RimColorLegendItem::categoryValue() const
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimColorLegendItem::fieldChangedByUi( const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue )
|
||||
{
|
||||
RimColorLegend* colorLegend = nullptr;
|
||||
this->firstAncestorOrThisOfType( colorLegend );
|
||||
RimColorLegend* colorLegend = firstAncestorOrThisOfType<RimColorLegend>();
|
||||
if ( colorLegend )
|
||||
{
|
||||
colorLegend->onColorLegendItemHasChanged();
|
||||
|
||||
Reference in New Issue
Block a user