summary refs log tree commit diff
path: root/src/SuggestionsPopup.cpp
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-05-03 15:19:28 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-05-03 15:19:28 +0300
commitd6ac72ab3fa0e7e350751c60873a925f98216b76 (patch)
treec46e501211df9e75c9e5483a5caee346a80bc745 /src/SuggestionsPopup.cpp
parentAdd missing header (diff)
downloadnheko-d6ac72ab3fa0e7e350751c60873a925f98216b76.tar.xz
Default to the first item in room selection menu
- Add backwards navigation with backtab

fixes #316
Diffstat (limited to 'src/SuggestionsPopup.cpp')
-rw-r--r--src/SuggestionsPopup.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/SuggestionsPopup.cpp b/src/SuggestionsPopup.cpp

index 86586c92..9ac2ef23 100644 --- a/src/SuggestionsPopup.cpp +++ b/src/SuggestionsPopup.cpp
@@ -136,6 +136,8 @@ SuggestionsPopup::addRooms(const std::vector<RoomSearchResult> &rooms) adjustSize(); resize(geometry().width(), 40 * rooms.size()); + + selectNextSuggestion(); } void @@ -158,6 +160,8 @@ SuggestionsPopup::addUsers(const QVector<SearchResult> &users) adjustSize(); resize(geometry().width(), 40 * users.size()); + + selectNextSuggestion(); } void