Wireshark-commits: [Wireshark-commits] master 14e1912: Qt: Disable pane menu items if not used in l
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=14e19128dca1b318896ab7768d4527723dbefd17
Submitter: Stig Bjørlykke (stig@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
14e1912 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>
Actions performed:
from 384c266 Qt: Preserve pane sizes when layout content changed
adds 14e1912 Qt: Disable pane menu items if not used in layout
Summary of changes:
debian/libwireshark0.symbols | 1 +
epan/prefs.c | 8 ++++++++
epan/prefs.h | 5 +++++
ui/qt/main_window_slots.cpp | 10 +++++++---
4 files changed, 21 insertions(+), 3 deletions(-)