fix: fix chat list scrolling down when user was looking up the chats

This commit is contained in:
Jonathan Rainville 2020-07-23 16:33:52 -04:00 committed by Iuri Matias
parent cc735aec6b
commit c73da6accf
1 changed files with 0 additions and 2 deletions

View File

@ -295,8 +295,6 @@ QtObject:
if(self.activeChannel.id == chat.id): if(self.activeChannel.id == chat.id):
self.activeChannel.setChatItem(chat) self.activeChannel.setChatItem(chat)
self.currentSuggestions.setNewData(self.status.contacts.getContacts()) self.currentSuggestions.setNewData(self.status.contacts.getContacts())
if triggerChange:
self.activeChannelChanged()
self.calculateUnreadMessages() self.calculateUnreadMessages()
proc renameGroup*(self: ChatsView, newName: string) {.slot.} = proc renameGroup*(self: ChatsView, newName: string) {.slot.} =