mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-26 00:06:49 -06:00
Never show ternary legend field in project tree
This commit is contained in:
parent
2b133fac94
commit
d79cc50fd5
@ -102,13 +102,11 @@ void RimEclipseCellColors::changeLegendConfig(QString resultVarNameOfNewLegend)
|
||||
{
|
||||
if (resultVarNameOfNewLegend == RimDefines::ternarySaturationResultName())
|
||||
{
|
||||
this->ternaryLegendConfig.uiCapability()->setUiHidden(false);
|
||||
this->ternaryLegendConfig.uiCapability()->setUiChildrenHidden(false);
|
||||
this->m_legendConfigPtrField.uiCapability()->setUiChildrenHidden(true);
|
||||
}
|
||||
else
|
||||
{
|
||||
this->ternaryLegendConfig.uiCapability()->setUiHidden(true);
|
||||
this->ternaryLegendConfig.uiCapability()->setUiChildrenHidden(true);
|
||||
|
||||
bool found = false;
|
||||
|
Loading…
Reference in New Issue
Block a user