diff options
author | David Morsberger <dave@morsberger.com> | 2016-07-03 19:36:12 -0400 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2016-07-10 14:59:03 +0000 |
commit | 448c89e30b2b2ee8168d22fa66fbd030f9cfa22b (patch) | |
tree | 59bf96dc116ca7c510007e882aa3a12d7d2adfb6 /ui/qt/follow_stream_dialog.h | |
parent | ea0b2e0d3677c1afd190a43fdee3b32a4cf0912a (diff) |
Remember query after closing Follow Stream
Update main filter after follow stream dialog is closed - Use:
previous_filter if new 'Back' button (passed in follow() method)
filter_out_filter_ if 'Filter Out This Stream' button (built by appending !current_stream to previous_filter)
leave filter alone if window closed using Close button or window close. (current stream)
Change-Id: Ic02edeaffdc65ff0f33cac4cb9afb8cde28963c7
Reviewed-on: https://code.wireshark.org/review/16277
Reviewed-by: Jim Young <jim.young.ws@gmail.com>
Petri-Dish: Jim Young <jim.young.ws@gmail.com>
Tested-by: Jim Young <jim.young.ws@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ui/qt/follow_stream_dialog.h')
-rw-r--r-- | ui/qt/follow_stream_dialog.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/qt/follow_stream_dialog.h b/ui/qt/follow_stream_dialog.h index e4389aed94..0c6996b783 100644 --- a/ui/qt/follow_stream_dialog.h +++ b/ui/qt/follow_stream_dialog.h @@ -70,6 +70,8 @@ private slots: void on_leFind_returnPressed(); void helpButton(); + void backButton(); + void close(); void filterOut(); void useRegexFind(bool use_regex); void findText(bool go_back = true); @@ -108,6 +110,7 @@ private: QPushButton *b_find_; QPushButton *b_print_; QPushButton *b_save_; + QPushButton *b_back_; follow_type_t follow_type_; follow_info_t follow_info_; @@ -116,7 +119,9 @@ private: QString data_out_filename_; static const int max_document_length_; bool truncated_; + QString previous_filter_; QString filter_out_filter_; + QString output_filter_; int client_buffer_count_; int server_buffer_count_; int client_packet_count_; |