Wireshark-commits: [Wireshark-commits] master-2.2 6a05b59: Qt: do not expand collapsed trees when s

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 31 Mar 2017 09:46:43 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=6a05b597c0a8e1d5d5a05c6eb1293b63d338d4d0
Submitter: Peter Wu (peter@xxxxxxxxxxxxx)
Changed: branch: master-2.2
Repository: wireshark

Commits:

6a05b59 by Peter Wu (peter@xxxxxxxxxxxxx):

    Qt: do not expand collapsed trees when switching packets
    
    Scenario: user selects a field, collapsed tha parent tree and selects
    the next packet. Before this patch, the tree would be expanded again,
    selecting the child. After this patch, the tree will not be expanded,
    instead selecting the tree node that got collapsed.
    
    Change-Id: I7968fca1056a937cf3b399afb6f3089c2d199067
    Reviewed-on: https://code.wireshark.org/review/20801
    Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Graham Bloice <graham.bloice@xxxxxxxxxxxxx>
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    (cherry picked from commit fff930d3939c21a1ed988ef9014c32f75739ea7c)
    Reviewed-on: https://code.wireshark.org/review/20806
    

Actions performed:

    from  17a3730   dns: prevent repeatedly overwriting resolved entries
    adds  6a05b59   Qt: do not expand collapsed trees when switching packets


Summary of changes:
 ui/qt/proto_tree.cpp |   11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)