mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fault Reactivation updates (#10665)
* Support getting pore pressure for all nodes * Misc fixes and updates in fault reactivation UI * Disable fault reactivation result unless you load an odb from a valid working folder
This commit is contained in:
@@ -62,9 +62,11 @@ void RicRunFaultReactModelingFeature::onActionTriggered( bool isChecked )
|
||||
|
||||
runProgress.setProgressDescription( "Writing input files." );
|
||||
|
||||
if ( model->fault() == nullptr )
|
||||
auto [modelOk, errorMsg] = model->validateBeforeRun();
|
||||
|
||||
if ( !modelOk )
|
||||
{
|
||||
QMessageBox::critical( nullptr, frmTitle, "A fault has not selected. Please check your model settings." );
|
||||
QMessageBox::critical( nullptr, frmTitle, QString::fromStdString( errorMsg ) );
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user