Wireshark-commits: [Wireshark-commits] master-2.0 7cdcbe8: Revert "Qt: Try to fix Main Welcome Inte
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=7cdcbe8c2830448b7bcb6b93be3f1e6c22a700b0
Submitter: Gerald Combs (gerald@xxxxxxxxxxxxx)
Changed: branch: master-2.0
Repository: wireshark
Commits:
7cdcbe8 by Gerald Combs (gerald@xxxxxxxxxxxxx):
Revert "Qt: Try to fix Main Welcome Interfaces List Scrollbar"
Instead of calling InterfaceTree::reset (which clears our selection)
when we resize, just pass our resize event to QTreeWidget.
Additionally, select our default interface using setCurrentItem. This
fixes behavior broken in gb152ca3.
This reverts commit 7baac67149a68b66087c5d688dbeda2869485765.
Bug: 11733
Change-Id: I58855de38561fcb6984273ae3910c0dfcda04e69
Reviewed-on: https://code.wireshark.org/review/13135
Petri-Dish: Gerald Combs <gerald@xxxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
(cherry picked from commit 8a23da3fd2a1f730128c0c0a1baef2dcd7b13812)
Reviewed-on: https://code.wireshark.org/review/13653
Actions performed:
from d811f12 Qt: Show physical interfaces first.
adds 7cdcbe8 Revert "Qt: Try to fix Main Welcome Interfaces List Scrollbar"
Summary of changes:
ui/qt/interface_tree.cpp | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)