Fix desktop crash

This commit is contained in:
cutefishd 2021-05-10 10:26:23 +08:00
parent 0ff861b977
commit 39f8e9da82

View file

@ -348,6 +348,9 @@ int Positioner::columnCount(const QModelIndex &parent) const
void Positioner::reset()
{
if (m_positions.isEmpty())
return;
beginResetModel();
initMaps();