aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland Knall <rknall@gmail.com>2019-07-20 22:55:57 +0200
committerRoland Knall <rknall@gmail.com>2019-07-20 22:14:56 +0000
commitf5280dba25f8fc5c184a36987be5a6c6503df85c (patch)
tree53ae7212b1b6f4813465b24e46ddf254d8c0b1c7
parentc88e525168c95ab84cd0c39a7f4e4afcc80b8b82 (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>
-rw-r--r--ui/qt/widgets/profile_tree_view.cpp3
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 &current, const QModelIndex &previous)
{
emit currentItemChanged();
+ QTreeView::currentChanged(current, previous);
}
void ProfileTreeView::clicked(const QModelIndex &index)