diff options
author | Roland Knall <rknall@gmail.com> | 2019-07-20 22:55:57 +0200 |
---|---|---|
committer | Roland Knall <rknall@gmail.com> | 2019-07-20 22:14:56 +0000 |
commit | f5280dba25f8fc5c184a36987be5a6c6503df85c (patch) | |
tree | 53ae7212b1b6f4813465b24e46ddf254d8c0b1c7 /ui/qt | |
parent | c88e525168c95ab84cd0c39a7f4e4afcc80b8b82 (diff) |
Qt: Profile Treeview fix key navigation
Key navigation is now possible again
Change-Id: I5e19235a94c5a36a10cc07adf1de01d9c3fb04ff
Reviewed-on: https://code.wireshark.org/review/34031
Petri-Dish: Roland Knall <rknall@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Roland Knall <rknall@gmail.com>
Diffstat (limited to 'ui/qt')
-rw-r--r-- | ui/qt/widgets/profile_tree_view.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/qt/widgets/profile_tree_view.cpp b/ui/qt/widgets/profile_tree_view.cpp index 06b307fe28..b339a9f758 100644 --- a/ui/qt/widgets/profile_tree_view.cpp +++ b/ui/qt/widgets/profile_tree_view.cpp @@ -86,9 +86,10 @@ void ProfileTreeView::selectionChanged(const QItemSelection &selected, const QIt QTreeView::selectionChanged(selected, deselected); } -void ProfileTreeView::currentChanged(const QModelIndex &, const QModelIndex &) +void ProfileTreeView::currentChanged(const QModelIndex ¤t, const QModelIndex &previous) { emit currentItemChanged(); + QTreeView::currentChanged(current, previous); } void ProfileTreeView::clicked(const QModelIndex &index) |