mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Copy changes from dev-branch into main
History of main branch was difficult to merge. Take a copy of dev-branch, and merge both ways between dev and main after the release.
This commit is contained in:
@@ -18,6 +18,8 @@
|
||||
|
||||
#include "RimCheckableObject.h"
|
||||
|
||||
#include "cafPdmFieldScriptingCapability.h"
|
||||
|
||||
CAF_PDM_XML_ABSTRACT_SOURCE_INIT( RimCheckableObject, "RimCheckableObject" ); // Do not use. Abstract class
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@@ -25,7 +27,7 @@ CAF_PDM_XML_ABSTRACT_SOURCE_INIT( RimCheckableObject, "RimCheckableObject" ); //
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimCheckableObject::RimCheckableObject()
|
||||
{
|
||||
CAF_PDM_InitField( &m_isChecked, "IsChecked", true, "Active" );
|
||||
CAF_PDM_InitScriptableField( &m_isChecked, "IsChecked", true, "Active" );
|
||||
m_isChecked.uiCapability()->setUiHidden( true );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user