mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2621 Check valid date in perforation interval
This commit is contained in:
parent
94932b9876
commit
08a978d0d7
@ -124,6 +124,9 @@ bool RimPerforationInterval::isActiveOnDate(const QDateTime& date) const
|
|||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!date.isValid()) return false;
|
||||||
|
|
||||||
return m_date() < date;
|
return m_date() < date;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user