diff options
author | Jaap Keuter <jaap.keuter@xs4all.nl> | 2017-01-08 02:09:23 +0100 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2017-01-09 05:28:13 +0000 |
commit | d5abca0cf570e6debe2569555fe5252e2c4409b6 (patch) | |
tree | ac06f2eeef0bc480c9a16cfff4b8e56a608fdb35 | |
parent | 21c203e154d3f49216eaa0bc55f3d3c138ba98ba (diff) | |
download | wireshark-d5abca0cf570e6debe2569555fe5252e2c4409b6.tar.gz |
Fix TCP stream graph (throughput) reset axes logic (CID-1398438)
The code seems to be ment to latch the reset axes flag for graph update.
Change-Id: I7b47346c45aa7576c98a251eb3ebcd9188407000
Reviewed-on: https://code.wireshark.org/review/19581
Reviewed-by: Kevin Hogan <kwabena@google.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
-rw-r--r-- | ui/qt/tcp_stream_dialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt/tcp_stream_dialog.cpp b/ui/qt/tcp_stream_dialog.cpp index b7ac32c79d..800b02adcb 100644 --- a/ui/qt/tcp_stream_dialog.cpp +++ b/ui/qt/tcp_stream_dialog.cpp @@ -1478,7 +1478,7 @@ void TCPStreamDialog::GraphUpdater::triggerUpdate(int timeout, bool reset_axes) graph_update_timer_->setSingleShot(true); dialog_->connect(graph_update_timer_, SIGNAL(timeout()), dialog_, SLOT(updateGraph())); } - reset_axes_ = (reset_axes || reset_axes); + reset_axes_ = (reset_axes_ || reset_axes); graph_update_timer_->start(timeout); } |