mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -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(&m_extentLength);
|
||||||
optionsGroup->add(&showInactiveCells);
|
optionsGroup->add(&showInactiveCells);
|
||||||
|
|
||||||
|
if (type == CS_POLYLINE)
|
||||||
|
{
|
||||||
|
m_extentLength.uiCapability()->setUiReadOnly(true);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
m_extentLength.uiCapability()->setUiReadOnly(false);
|
||||||
|
}
|
||||||
|
|
||||||
updateWellExtentDefaultValue();
|
updateWellExtentDefaultValue();
|
||||||
|
|
||||||
uiOrdering.setForgetRemainingFields(true);
|
uiOrdering.setForgetRemainingFields(true);
|
||||||
|
Loading…
Reference in New Issue
Block a user