mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
(#550) Fixed by reverting commit ca0fd4d9fe
The simplified check for results present was not good enough. As we no longer do processEvents during progressbar, it should be ok to reintroduce the assertResultsLoaded test.
This commit is contained in:
@@ -308,9 +308,7 @@ RigGeoMechCaseData* RimGeoMechResultDefinition::ownerCaseData()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RimGeoMechResultDefinition::hasResult()
|
||||
{
|
||||
RigFemResultAddress resAddr = this->resultAddress();
|
||||
|
||||
return (resAddr.isValid() && resAddr.fieldName != "None");
|
||||
return ownerCaseData()->femPartResults()->assertResultsLoaded(this->resultAddress());
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user