Skip to content
Snippets Groups Projects
Commit 83584144 authored by Albert  Babí Oller's avatar Albert Babí Oller Committed by Albert Babí Oller
Browse files

smartlist: fix wrong contact selection

- unselect smartlist before contact selection. This makes possible selecting the same index when smartlist changes, i. e., when searching contacts or switching to invitations menu

Gitlab: #96
Change-Id: Id402389a3b80771f37946323d4112a5324612d33
parent 5f869b58
No related branches found
No related tags found
No related merge requests found
......@@ -198,6 +198,7 @@ ItemDelegate {
userProfile.contactPicBase64 = Picture
smartListContextMenu.openMenu()
} else if (mouse.button === Qt.LeftButton) {
conversationSmartListView.currentIndex = -1
conversationSmartListView.currentIndex = index
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment