mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-08 23:23:01 -06:00
(#641) Hide extent lenth for polyline
This commit is contained in:
parent
dc03844a55
commit
512701ce11
@ -172,6 +172,15 @@ void RimCrossSection::defineUiOrdering(QString uiConfigName, caf::PdmUiOrdering&
|
||||
optionsGroup->add(&m_extentLength);
|
||||
optionsGroup->add(&showInactiveCells);
|
||||
|
||||
if (type == CS_POLYLINE)
|
||||
{
|
||||
m_extentLength.uiCapability()->setUiReadOnly(true);
|
||||
}
|
||||
else
|
||||
{
|
||||
m_extentLength.uiCapability()->setUiReadOnly(false);
|
||||
}
|
||||
|
||||
updateWellExtentDefaultValue();
|
||||
|
||||
uiOrdering.setForgetRemainingFields(true);
|
||||
|
Loading…
Reference in New Issue
Block a user