mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-16 18:32:10 -05:00
Fixed crash when toggling separate fault result
when no faultresult had been selected. Crashed due to missing legend definition
This commit is contained in:
1 parent
26eada49e2
commit
c9887c26c6
1 file changed
+3
@@ -51,6 +51,9 @@ RimEclipseCellColors::RimEclipseCellColors()
|
||||
CAF_PDM_InitFieldNoDefault(&m_legendConfigPtrField, "LegendDefinitionPtrField", "Legend Definition PtrField", "", "", "");
|
||||
this->m_legendConfigPtrField.uiCapability()->setUiHidden(true);
|
||||
this->m_legendConfigPtrField.uiCapability()->setUiChildrenHidden(true);
|
||||
|
||||
// Make sure we have a created legend for the default/undefined result variable
|
||||
changeLegendConfig(this->resultVariable());
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user