Wireshark-commits: [Wireshark-commits] master ee320ef: qt: clear tree and bytes when no packet sele

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 27 Jan 2015 03:38:17 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=ee320ef1bff411eacd85e160a61608defbc331aa
Submitter: Evan Huus (eapache@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

ee320ef by Evan Huus (eapache@xxxxxxxxx):

    qt: clear tree and bytes when no packet selected
    
    Otherwise trying to interact with them will cause all sorts of funny crashes.
    
    There's probably a better way to trigger these (having the widgets register for
    a signal, and sending that signal, or something something something) but this
    works and I don't feel like reading 20 pages of Qt documentation right this
    instant.
    
    Change-Id: Ic52806ae5ba8d7776f835695590559b8c705d083
    Ping-Bug: 10896
    Reviewed-on: https://code.wireshark.org/review/6803
    Reviewed-by: Evan Huus <eapache@xxxxxxxxx>
    

Actions performed:

    from  a835c85   Pcapng: Don't fetch past the end of a GArray.
    adds  ee320ef   qt: clear tree and bytes when no packet selected


Summary of changes:
 ui/qt/packet_list.cpp |    4 ++++
 1 file changed, 4 insertions(+)