mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-12 16:32:12 -05:00
RifEclipseSummaryAddress. Address not valid if empty quantity name
This commit is contained in:
1 parent
7b462616bf
commit
ca17037209
1 file changed
+2
@@ -599,6 +599,8 @@ std::string RifEclipseSummaryAddress::uiText(RifEclipseSummaryAddress::SummaryId
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RifEclipseSummaryAddress::isValid() const
|
||||
{
|
||||
if (m_quantityName.empty()) return false;
|
||||
|
||||
switch (category())
|
||||
{
|
||||
case SUMMARY_INVALID:
|
||||
|
||||
Reference in new issue
Block a user