fix: Fixing a crash on channels reordering in community column view

(cherry picked from commit 41ba1f1710)
This commit is contained in:
Alex Jbanca 2023-09-05 10:40:30 +03:00 committed by Jonathan Rainville
parent 296f70103a
commit 99b2a87fe4
1 changed files with 1 additions and 0 deletions

View File

@ -539,6 +539,7 @@ QtObject:
self.items[index].position = updatedChat.position
let modelIndex = self.createIndex(index, 0, nil)
defer: modelIndex.delete
self.dataChanged(modelIndex, modelIndex, roles)
proc reorderCategoryById*(