mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -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())
|
if (resultVarNameOfNewLegend == RimDefines::ternarySaturationResultName())
|
||||||
{
|
{
|
||||||
this->ternaryLegendConfig.uiCapability()->setUiHidden(false);
|
|
||||||
this->ternaryLegendConfig.uiCapability()->setUiChildrenHidden(false);
|
this->ternaryLegendConfig.uiCapability()->setUiChildrenHidden(false);
|
||||||
this->m_legendConfigPtrField.uiCapability()->setUiChildrenHidden(true);
|
this->m_legendConfigPtrField.uiCapability()->setUiChildrenHidden(true);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
this->ternaryLegendConfig.uiCapability()->setUiHidden(true);
|
|
||||||
this->ternaryLegendConfig.uiCapability()->setUiChildrenHidden(true);
|
this->ternaryLegendConfig.uiCapability()->setUiChildrenHidden(true);
|
||||||
|
|
||||||
bool found = false;
|
bool found = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user