mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2140 Set fracture color variable when result name is empty or "None"
This commit is contained in:
parent
5153f5b926
commit
171c065326
@ -387,7 +387,9 @@ void setDefaultResultIfStimPlan(caf::PdmField<QString> &field)
|
||||
|
||||
std::vector<RimFractureTemplate*> stimPlanFracTemplates = proj->allFractureTemplates();
|
||||
|
||||
if (!stimPlanFracTemplates.empty() && field() == "None")
|
||||
QString currentResultName = field();
|
||||
|
||||
if (!stimPlanFracTemplates.empty() && (currentResultName.isEmpty() || currentResultName == "None"))
|
||||
{
|
||||
RimFractureTemplateCollection* templColl = proj->allFractureTemplateCollections().front();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user