mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#948 Fixed missing change of legend in project tree Separate Fault Result
This commit is contained in:
@@ -149,15 +149,5 @@ bool RimEclipseFaultColors::hasValidCustomResult()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimEclipseFaultColors::defineUiTreeOrdering(caf::PdmUiTreeOrdering& uiTreeOrdering, QString uiConfigName /*= ""*/)
|
||||
{
|
||||
if (m_customFaultResultColors()->ternaryLegendConfig()
|
||||
&& !m_customFaultResultColors()->ternaryLegendConfig.uiCapability()->isUiTreeChildrenHidden(uiConfigName))
|
||||
{
|
||||
uiTreeOrdering.add(m_customFaultResultColors()->ternaryLegendConfig());
|
||||
}
|
||||
else if (m_customFaultResultColors()->legendConfig())
|
||||
{
|
||||
uiTreeOrdering.add(m_customFaultResultColors()->legendConfig());
|
||||
}
|
||||
|
||||
uiTreeOrdering.setForgetRemainingFields(true);
|
||||
m_customFaultResultColors()->defineUiTreeOrdering(uiTreeOrdering, uiConfigName);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user