diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2015-11-26 14:22:20 +0100 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2015-11-26 17:47:30 +0000 |
commit | be284fd098f00437e9302ca40ee9c3146da20d3c (patch) | |
tree | c0c467062c9696f1b9681de1c71c04229db6e893 | |
parent | 41bf1dda4f59adbffd3a6abfb7189adc93b06e39 (diff) | |
download | wireshark-be284fd098f00437e9302ca40ee9c3146da20d3c.tar.gz |
Qt: clear new_visible_rows_ when closing a capture file
Bug: 11756
Change-Id: Iccc92963f81c3ded143953c8c1fad27cd57a7bc2
Reviewed-on: https://code.wireshark.org/review/12193
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
-rw-r--r-- | ui/qt/packet_list_model.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/qt/packet_list_model.cpp b/ui/qt/packet_list_model.cpp index 6bfa98cca8..351e74e20f 100644 --- a/ui/qt/packet_list_model.cpp +++ b/ui/qt/packet_list_model.cpp @@ -118,6 +118,7 @@ void PacketListModel::clear() { qDeleteAll(physical_rows_); physical_rows_.clear(); visible_rows_.clear(); + new_visible_rows_.clear(); number_to_row_.clear(); PacketListRecord::clearStringPool(); endResetModel(); |