Wireshark-commits: [Wireshark-commits] master-2.6 3b41c2f: Qt: Update frame selected in several cas
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 09 May 2018 06:21:24 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=3b41c2fbe81de38cd1d292e385ba57746661d2cf
Submitter: Stig Bjørlykke (stig@xxxxxxxxxxxxx)
Changed: branch: master-2.6
Repository: wireshark

Commits:

3b41c2f by Stig Bjørlykke (stig@xxxxxxxxxxxxx):

    Qt: Update frame selected in several cases
    
    Ensure that frameSelected(0) is emitted when not having a proto tree
    field selected because of:
    
     1. No match when trying to restore selected field
     2. Search selects a packet with no field to select
     3. Current packet is deselected
    
    This will disable functionality which requires a selected field
    and updates the status bar according to selected field.
    
    Bug: 14658
    Change-Id: I158fae4f26c02f718cee0030ef9e38b597876381
    Reviewed-on: https://code.wireshark.org/review/27395
    Petri-Dish: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    Reviewed-by: Roland Knall <rknall@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    (cherry picked from commit 612fb778f51b704745559345485f4ea44aa71aef)
    Reviewed-on: https://code.wireshark.org/review/27410
    

Actions performed:

    from  004db7b   You have to set tm_isdst before calling mktime().
    adds  3b41c2f   Qt: Update frame selected in several cases


Summary of changes:
 ui/qt/main_status_bar.cpp |  4 +++-
 ui/qt/packet_list.cpp     | 17 ++++++++++-------
 ui/qt/proto_tree.cpp      |  2 ++
 3 files changed, 15 insertions(+), 8 deletions(-)