Wireshark-commits: [Wireshark-commits] master-2.2 c3d895f: Qt: Disable pane menu items if not used
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 16 Feb 2017 20:59:40 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=c3d895fe6e7f0807b7c47a8c09e684f202ae562c
Submitter: Stig Bjørlykke (stig@xxxxxxxxxxxxx)
Changed: branch: master-2.2
Repository: wireshark

Commits:

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

    Qt: Disable pane menu items if not used in layout
    
    If a pane is not used in the layout it should not be possible to show
    and hide this from the menu, as this may give unexpected results.
    
    Change-Id: I335168e66e1dffc89992cad480dd7daaea7e9d59
    Reviewed-on: https://code.wireshark.org/review/20140
    Petri-Dish: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    (cherry picked from commit 14e19128dca1b318896ab7768d4527723dbefd17)
    Reviewed-on: https://code.wireshark.org/review/20152
    

Actions performed:

    from  419c497   Qt: Preserve pane sizes when layout content changed
    adds  c3d895f   Qt: Disable pane menu items if not used in layout


Summary of changes:
 debian/libwireshark8.symbols |    1 +
 epan/prefs.c                 |    8 ++++++++
 epan/prefs.h                 |    5 +++++
 ui/qt/main_window_slots.cpp  |   10 +++++++---
 4 files changed, 21 insertions(+), 3 deletions(-)