mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Fix mouse clicks on divesite completer.
Use clicked instead of activated signal on the completerList to handle the selection of a divesite. Signed-off-by: Sander Kleijwegt <sander@myowndomain.nl> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
10d0604297
commit
67abcd0c2c
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ MainTab::MainTab(QWidget *parent) : QTabWidget(parent),
|
|||
connect(locationManagementEditHelper, &LocationManagementEditHelper::setLineEditText,
|
||||
ui.location, &QLineEdit::setText);
|
||||
completerListview->installEventFilter(locationManagementEditHelper);
|
||||
connect(completerListview, &QAbstractItemView::activated,
|
||||
connect(completerListview, &QAbstractItemView::clicked,
|
||||
locationManagementEditHelper, &LocationManagementEditHelper::handleActivation);
|
||||
|
||||
ui.location->setCompleter(completer);
|
||||
|
|
Loading…
Add table
Reference in a new issue