From e79094c18c582d6f03455ed8f28f1e4f746aeb4a Mon Sep 17 00:00:00 2001 From: miruka Date: Sun, 23 Aug 2020 09:23:34 -0400 Subject: [PATCH] Fix click on user delegate not making it a mention --- TODO.md | 5 ++--- src/gui/Pages/Chat/AutoCompletion/UserAutoCompletion.qml | 5 +++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/TODO.md b/TODO.md index 7adcb194..c7920f71 100644 --- a/TODO.md +++ b/TODO.md @@ -1,5 +1,6 @@ # TODO +- save usersCompleted in state.json - refresh server list button - global presence control @@ -60,9 +61,8 @@ ## Interface - Colorize "@room" in messages - opening a page or popup - Device IP geolocation -- Can rooms but left with a reason? +- Can rooms be left with a reason? - When responding to a message, highlight that message in the timeline - Highlight timeline messages that mentions our user @@ -168,7 +168,6 @@ - Prevent starting multiple client instances, causes problems with E2E DB - Check if username exists on login screen - [Soft logouts](https://github.com/poljar/matrix-nio/commit/aba10) -- Logout previous session when adding an account that's already connected - Cache and restore profiles, room events and client states diff --git a/src/gui/Pages/Chat/AutoCompletion/UserAutoCompletion.qml b/src/gui/Pages/Chat/AutoCompletion/UserAutoCompletion.qml index 73060fe9..0cba11f8 100644 --- a/src/gui/Pages/Chat/AutoCompletion/UserAutoCompletion.qml +++ b/src/gui/Pages/Chat/AutoCompletion/UserAutoCompletion.qml @@ -99,8 +99,9 @@ HListView { width: root.width colorName: hovered || root.currentIndex === model.index onClicked: { - currentIndex = model.index - root.open = false + root.currentIndex = model.index + root.accept() + root.open = false } }