summaryrefslogtreecommitdiff
path: root/ui/qt/wlan_statistics_dialog.cpp
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2015-09-18 12:08:57 -0700
committerGerald Combs <gerald@wireshark.org>2015-09-18 22:00:05 +0000
commite2487f3f165fef3fe716f920aeab909f14d1d1a2 (patch)
tree2fbedabf7e5c9d7b1e4654990bb4b04c0dfb2933 /ui/qt/wlan_statistics_dialog.cpp
parent093563b6676f1dfd4e42469251849b3bdb512c87 (diff)
downloadwireshark-e2487f3f165fef3fe716f920aeab909f14d1d1a2.tar.gz
Fix WLAN statistics header behavior.
Connect itemSelectionChanged to header label updates instead of currentItemChanged, which seems to be more reliable. Change-Id: I29f8f2144ad6584e0612d43ec3aac5b258f08ebd Reviewed-on: https://code.wireshark.org/review/10570 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/qt/wlan_statistics_dialog.cpp')
-rw-r--r--ui/qt/wlan_statistics_dialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt/wlan_statistics_dialog.cpp b/ui/qt/wlan_statistics_dialog.cpp
index 8759e77025..a6015048f2 100644
--- a/ui/qt/wlan_statistics_dialog.cpp
+++ b/ui/qt/wlan_statistics_dialog.cpp
@@ -507,7 +507,7 @@ WlanStatisticsDialog::WlanStatisticsDialog(QWidget &parent, CaptureFile &cf, con
setDisplayFilter(filter);
}
- connect(statsTreeWidget(), SIGNAL(currentItemChanged(QTreeWidgetItem*,QTreeWidgetItem*)),
+ connect(statsTreeWidget(), SIGNAL(itemSelectionChanged()),
this, SLOT(updateHeaderLabels()));
}