Fix assignment instead of comparison bug in RimPlotDataFilterItem::fieldChangedByUi

This commit is contained in:
Kristian Bendiksen 2020-04-28 09:07:29 +02:00 committed by Magne Sjaastad
parent 4dfa975836
commit e66f937c29

View File

@ -243,7 +243,7 @@ void RimPlotDataFilterItem::fieldChangedByUi( const caf::PdmFieldHandle* changed
this->updateMaxMinAndDefaultValues( false );
parentPlot->onFiltersChanged();
}
else if ( changedField = &m_filterOperation )
else if ( changedField == &m_filterOperation )
{
this->updateMaxMinAndDefaultValues( false );
parentPlot->onFiltersChanged();