Wireshark-commits: [Wireshark-commits] master-3.2 7847721: Qt: fix packet list selection regression

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 27 Feb 2020 19:32:28 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=784772142b7ef74913b6ec74b8e3dc95ce402b87
Submitter: "Stig Bjørlykke <stig@xxxxxxxxxxxxx>"
Changed: branch: master-3.2
Repository: wireshark

Commits:

7847721 by Rasmus Jonsson (wasmus@xxxxxx):

    Qt: fix packet list selection regression
    
    When adding or removing a filter, the currently selected packet
    is deselected. beginResetModel/ endResetModel were used which
    reset the QModelIndex, now changed back to dataChanged/
    headerDataChanged as before.
    
    Bug: 16414
    Change-Id: Ia8fa91e3378bdc0792382184e75e59900397e8b9
    Reviewed-on: https://code.wireshark.org/review/36204
    Petri-Dish: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Roland Knall <rknall@xxxxxxxxx>
    (cherry picked from commit b1a4aac54323304b489af3282e7ce5fc4512cf37)
    Reviewed-on: https://code.wireshark.org/review/36219
    Reviewed-by: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    

Actions performed:

    from  efbaa6e   Fix some typoes in comments.
     add  7847721   Qt: fix packet list selection regression


Summary of changes:
 ui/qt/models/packet_list_model.cpp | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)