mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
RifEclipseSummaryAddress. Address not valid if empty quantity name
This commit is contained in:
parent
7b462616bf
commit
ca17037209
@ -599,6 +599,8 @@ std::string RifEclipseSummaryAddress::uiText(RifEclipseSummaryAddress::SummaryId
|
|||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
bool RifEclipseSummaryAddress::isValid() const
|
bool RifEclipseSummaryAddress::isValid() const
|
||||||
{
|
{
|
||||||
|
if (m_quantityName.empty()) return false;
|
||||||
|
|
||||||
switch (category())
|
switch (category())
|
||||||
{
|
{
|
||||||
case SUMMARY_INVALID:
|
case SUMMARY_INVALID:
|
||||||
|
Loading…
Reference in New Issue
Block a user