diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2016-02-23 09:30:48 +0100 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2016-02-23 18:30:48 +0000 |
commit | b5ac91399cccdf065d065497c83ca8e8ac864fe7 (patch) | |
tree | 79380a0c9d60c926463c5de9ad776191329a4f8c /ui/qt/proto_tree.h | |
parent | 0ef196a643daf3e9654dd118cddbec5c80f7f6ff (diff) | |
download | wireshark-b5ac91399cccdf065d065497c83ca8e8ac864fe7.tar.gz |
Qt: Select matching tree item and bytes in Find Packet
Highlight the matching tree item and matching packet bytes when
doing a Find Packet. Added cf->search_len to correctly highlight
the matching bytes when doing a regex search.
Bug: 12157
Change-Id: I84fbdb9b43be4355e24aff3cf5f8850f1119e2bf
Reviewed-on: https://code.wireshark.org/review/14086
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
Diffstat (limited to 'ui/qt/proto_tree.h')
-rw-r--r-- | ui/qt/proto_tree.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/qt/proto_tree.h b/ui/qt/proto_tree.h index 298782cf36..a97f69c6a5 100644 --- a/ui/qt/proto_tree.h +++ b/ui/qt/proto_tree.h @@ -42,6 +42,7 @@ public: void fillProtocolTree(proto_tree *protocol_tree); void emitRelatedFrame(int related_frame, ft_framenum_type_t framenum_type = FT_FRAMENUM_NONE); void goToField(int hf_id); + void selectField(field_info *fi); void closeContextMenu(); void clear(); |