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>
This commit is contained in:
parent
093563b667
commit
e2487f3f16
|
@ -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()));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue