From 38cde83a5c178f8866d9337702733fae2c844363 Mon Sep 17 00:00:00 2001 From: Pascal Quantin Date: Wed, 16 Dec 2015 23:41:13 +0100 Subject: [PATCH] Qt: reset columns when applying a display filter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: 11786 Change-Id: I7d3b4139328adaf2f79f008a8772b3182c1eb1f0 Reviewed-on: https://code.wireshark.org/review/12688 Reviewed-by: Pascal Quantin Reviewed-by: Stig Bjørlykke --- ui/qt/main_window_slots.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ui/qt/main_window_slots.cpp b/ui/qt/main_window_slots.cpp index 1e89ff23e8..40dc8e426e 100644 --- a/ui/qt/main_window_slots.cpp +++ b/ui/qt/main_window_slots.cpp @@ -290,6 +290,9 @@ void MainWindow::filterPackets(QString new_filter, bool force) } else { emit displayFilterSuccess(false); } + if (packet_list_) { + packet_list_->resetColumns(); + } } // A new layout should be applied when it differs from the old layout AND