diff --git a/src/app/modules/main/chat_section/model.nim b/src/app/modules/main/chat_section/model.nim index 034a3726b4..5c14a044b2 100644 --- a/src/app/modules/main/chat_section/model.nim +++ b/src/app/modules/main/chat_section/model.nim @@ -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*(