#948 Fixed missing change of legend in project tree Separate Fault Result

This commit is contained in:
Jacob Støren 2016-11-02 14:20:11 +01:00
parent 40ebd04f60
commit 6c43d29bdd

View File

@ -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);
}