Wireshark-commits: [Wireshark-commits] master-2.6 af4c4af: Qt: Restore column visibility when loadi

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 10 Sep 2018 07:26:20 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=af4c4af5982da806d237ec57f03bc047aad2f5fb
Submitter: "Stig Bjørlykke <stig@xxxxxxxxxxxxx>"
Changed: branch: master-2.6
Repository: wireshark

Commits:

af4c4af by Stig Bjørlykke (stig@xxxxxxxxxxxxx):

    Qt: Restore column visibility when loading packets
    
    Always restore column visibility when loading packets to avoid some
    situations where the column hidden state was incorrect.
    
    This fixes the following scenario:
     - Apply a column and hide it using the column popup menu
     - Apply another column and remove it using the column popup menu
     - Close and reopen the capture file
     - Observe the hidden column is shown, but with wrong width
    
    Change-Id: I00531907b2383c6605a2d62e8243092906037d0c
    Reviewed-on: https://code.wireshark.org/review/29516
    Petri-Dish: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    (cherry picked from commit 7468107e1167d9526d6646a0870bf4c5a44ff91b)
    Reviewed-on: https://code.wireshark.org/review/29531
    

Actions performed:

    from  2d4bf81   rpm_setup.sh was renamed to rpm-setup.sh; reflect that.
     add  af4c4af   Qt: Restore column visibility when loading packets


Summary of changes:
 ui/qt/packet_list.cpp | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)