Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/fougue/mayo into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
HuguesDelorme committed Nov 12, 2024
2 parents 7650a08 + ab327d9 commit 4fdc1cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/base/property_enumeration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ PropertyEnumeration::PropertyEnumeration(
)
: Property(grp, name),
m_enumeration(enumeration),
m_value(enumeration && enumeration->empty() ? enumeration->itemAt(0).value : -1)
m_value(enumeration && !enumeration->empty() ? enumeration->itemAt(0).value : -1)
{
}

Expand Down

0 comments on commit 4fdc1cc

Please sign in to comment.