mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-26 16:26:48 -06:00
Pressure Differential Depletion: Make sure we can set WBHP for all types of trans scaling.
* It is needed for calculating fracture pressures.
This commit is contained in:
parent
9dd6ccb24d
commit
4aec08b501
@ -289,8 +289,7 @@ void RicExportCompletionDataSettingsUi::defineUiOrdering(QString uiConfigName, c
|
||||
group->add(&transScalingWBHP);
|
||||
group->add(&transScalingCorrection);
|
||||
|
||||
transScalingWBHPTimeStep.uiCapability()->setUiReadOnly(transScalingType() == RicExportFractureCompletionsImpl::NO_SCALING ||
|
||||
transScalingType() != RicExportFractureCompletionsImpl::MATRIX_TO_WELL_DP_OVER_INITIAL_DP);
|
||||
transScalingWBHPTimeStep.uiCapability()->setUiReadOnly(transScalingType() == RicExportFractureCompletionsImpl::NO_SCALING);
|
||||
transScalingWBHP.uiCapability()->setUiReadOnly(transScalingWBHPTimeStep.uiCapability()->isUiReadOnly() ||
|
||||
transScalingWBHPTimeStep() != -1);
|
||||
transScalingCorrection.uiCapability()->setUiReadOnly(transScalingType() == RicExportFractureCompletionsImpl::NO_SCALING);
|
||||
|
Loading…
Reference in New Issue
Block a user