Wireshark-commits: [Wireshark-commits] master 962f8d0: Qt: Handle emptying selections

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 19 Nov 2019 09:37:12 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=962f8d0c7e9124c06254cc9c8b942f9c974ac5fc
Submitter: "Roland Knall <rknall@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

962f8d0 by Roland Knall (rknall@xxxxxxxxx):

    Qt: Handle emptying selections
    
    Clicking in an empty area of the Packet List to "unselect" the packet
    selection, left one packet indicated as selected (by having a single
    field active, but not highlighted). This is fixed, by selecting this
    entry.
    
    If the last line is being deselected, not index is set as active, as
    it has been in previous versions of the Qt interface
    
    Bug: 16216
    Change-Id: Ib5353a7e59b09a4f816655e1dd65a20d6c6d1a13
    Reviewed-on: https://code.wireshark.org/review/35132
    Petri-Dish: Roland Knall <rknall@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Roland Knall <rknall@xxxxxxxxx>
    

Actions performed:

    from  3db2743   NAS-5GS: Fix dissection of 8.2.19 Configuration update command.
     add  962f8d0   Qt: Handle emptying selections


Summary of changes:
 ui/qt/packet_list.cpp | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)