mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5101 clang-format: Adjusted penalties
Use lower absolute values to improve control of behavior
This commit is contained in:
@@ -37,7 +37,8 @@ CAF_CMD_SOURCE_INIT( RicGeoMechPropertyFilterInsertFeature, "RicGeoMechPropertyF
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RicGeoMechPropertyFilterInsertFeature::isCommandEnabled()
|
||||
{
|
||||
std::vector<RimGeoMechPropertyFilter*> propertyFilters = RicGeoMechPropertyFilterFeatureImpl::selectedPropertyFilters();
|
||||
std::vector<RimGeoMechPropertyFilter*> propertyFilters =
|
||||
RicGeoMechPropertyFilterFeatureImpl::selectedPropertyFilters();
|
||||
if ( propertyFilters.size() == 1 )
|
||||
{
|
||||
return RicGeoMechPropertyFilterFeatureImpl::isPropertyFilterCommandAvailable( propertyFilters[0] );
|
||||
@@ -51,7 +52,8 @@ bool RicGeoMechPropertyFilterInsertFeature::isCommandEnabled()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RicGeoMechPropertyFilterInsertFeature::onActionTriggered( bool isChecked )
|
||||
{
|
||||
std::vector<RimGeoMechPropertyFilter*> propertyFilters = RicGeoMechPropertyFilterFeatureImpl::selectedPropertyFilters();
|
||||
std::vector<RimGeoMechPropertyFilter*> propertyFilters =
|
||||
RicGeoMechPropertyFilterFeatureImpl::selectedPropertyFilters();
|
||||
if ( propertyFilters.size() == 1 )
|
||||
{
|
||||
RicGeoMechPropertyFilterInsertExec* filterExec = new RicGeoMechPropertyFilterInsertExec( propertyFilters[0] );
|
||||
|
||||
Reference in New Issue
Block a user