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>
This commit is contained in:
Pascal Quantin 2014-12-28 16:35:57 +01:00 committed by Gerald Combs
parent f3fd6b5528
commit 8965e90a25
1 changed files with 3 additions and 3 deletions

View File

@ -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);