Fix desktop crash
This commit is contained in:
parent
0ff861b977
commit
39f8e9da82
1 changed files with 3 additions and 0 deletions
|
@ -348,6 +348,9 @@ int Positioner::columnCount(const QModelIndex &parent) const
|
|||
|
||||
void Positioner::reset()
|
||||
{
|
||||
if (m_positions.isEmpty())
|
||||
return;
|
||||
|
||||
beginResetModel();
|
||||
|
||||
initMaps();
|
||||
|
|
Loading…
Reference in a new issue