fix: Fixing a crash on channels reordering in community column view
(cherry picked from commit 41ba1f1710
)
This commit is contained in:
parent
296f70103a
commit
99b2a87fe4
|
@ -539,6 +539,7 @@ QtObject:
|
||||||
|
|
||||||
self.items[index].position = updatedChat.position
|
self.items[index].position = updatedChat.position
|
||||||
let modelIndex = self.createIndex(index, 0, nil)
|
let modelIndex = self.createIndex(index, 0, nil)
|
||||||
|
defer: modelIndex.delete
|
||||||
self.dataChanged(modelIndex, modelIndex, roles)
|
self.dataChanged(modelIndex, modelIndex, roles)
|
||||||
|
|
||||||
proc reorderCategoryById*(
|
proc reorderCategoryById*(
|
||||||
|
|
Loading…
Reference in New Issue