mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Use AppEnumField in test application
This commit is contained in:
@@ -24,7 +24,7 @@ public:
|
||||
|
||||
QVariant toQVariant() const override
|
||||
{
|
||||
auto enumValue = static_cast<std::underlying_type_t<DataType>>( m_fieldValue );
|
||||
auto enumValue = static_cast<std::underlying_type_t<DataType>>( m_fieldValue.value() );
|
||||
return enumValue;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user