mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-24 15:26:48 -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 /*= ""*/)
|
||||
{
|
||||
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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user