mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-12 16:32:12 -05:00
(#641) Hide extent lenth for polyline
This commit is contained in:
1 parent
dc03844a55
commit
512701ce11
1 file changed
+9
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user