Skip to content

Commit

Permalink
fixed type mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
arBmind committed Dec 10, 2021
1 parent 260de7d commit d0cf617
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ void ListModelEditorModel::addColumn(const QString &columnName)

auto found = std::lower_bound(m_propertyNames.begin(), m_propertyNames.end(), propertyName);

if (found != m_propertyNames.end() && *found == columnName)
if (found != m_propertyNames.end() && *found == propertyName)
return;

int newIndex = static_cast<int>(std::distance(m_propertyNames.begin(), found));
Expand Down

0 comments on commit d0cf617

Please sign in to comment.