Skip to content

Commit

Permalink
Fix bug with incorrect rows
Browse files Browse the repository at this point in the history
Signed-off-by: Geoff Hutchison <[email protected]>
  • Loading branch information
ghutchis committed Oct 28, 2024
1 parent a90aa27 commit dd4b6af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion avogadro/qtplugins/molecularproperties/molecularmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ int MolecularModel::rowCount(const QModelIndex& parent) const
const auto& properties = m_molecule->dataMap();
rows += properties.names().size(); // 0 or more

return 0;
return rows;
}

int MolecularModel::columnCount(const QModelIndex& parent) const
Expand Down

0 comments on commit dd4b6af

Please sign in to comment.