diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2014-12-28 16:35:57 +0100 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2014-12-28 18:17:43 +0000 |
commit | 8965e90a25a79eaa5569e9de6589f7fc5b3ccb3c (patch) | |
tree | 7e42496e7b95af869dac5fd8e689b3a4f4ef9802 /ui | |
parent | f3fd6b552873b7f5c9d8afb1f4b341b1dd6e9f28 (diff) |
Qt Follow window: keep data representation when switching between streams
Change-Id: I1c7092d33d841e80ce110224f3bd617cb112be61
Reviewed-on: https://code.wireshark.org/review/6091
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/qt/follow_stream_dialog.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/qt/follow_stream_dialog.cpp b/ui/qt/follow_stream_dialog.cpp index 4cebbe4314..13c8f47d6b 100644 --- a/ui/qt/follow_stream_dialog.cpp +++ b/ui/qt/follow_stream_dialog.cpp @@ -78,6 +78,9 @@ FollowStreamDialog::FollowStreamDialog(QWidget *parent, follow_type_t type, capt setAttribute(Qt::WA_DeleteOnClose, true); memset(&follow_info_, 0, sizeof(follow_info_)); + follow_info_.show_type = SHOW_ASCII; + follow_info_.show_stream = BOTH_HOSTS; + ui->teStreamContent->installEventFilter(this); @@ -521,9 +524,6 @@ FollowStreamDialog::followStream() { follow_stats_t stats; - follow_info_.show_type = SHOW_ASCII; - follow_info_.show_stream = BOTH_HOSTS; - /* Stream to show */ follow_stats(&stats); |