diff --git a/model/positioner.cpp b/model/positioner.cpp index 490369d..441bcd9 100644 --- a/model/positioner.cpp +++ b/model/positioner.cpp @@ -348,6 +348,9 @@ int Positioner::columnCount(const QModelIndex &parent) const void Positioner::reset() { + if (m_positions.isEmpty()) + return; + beginResetModel(); initMaps();