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