aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2015-03-04 18:08:35 -0800
committerGerald Combs <gerald@wireshark.org>2015-03-05 02:08:59 +0000
commitce3ec6a6f7de08499c9c1e63f73db9bbe69bb4d4 (patch)
tree7e7f0a623011b530ef14e0b0f6738182fcb20eb2 /ui
parent0a4f93ab2bc7d4f45bb97d25a953e474d79550f3 (diff)
Qt: Redraw the packet list when a column is resized.
...otherwise the packet list and header columns don't match until the next redraw. Change-Id: Ice9c17c93badec93839be7c100ca27d8dc493daa Reviewed-on: https://code.wireshark.org/review/7536 Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui')
-rw-r--r--ui/qt/packet_list.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/qt/packet_list.cpp b/ui/qt/packet_list.cpp
index 8d8cb0aba9..9f3dfcd971 100644
--- a/ui/qt/packet_list.cpp
+++ b/ui/qt/packet_list.cpp
@@ -1159,6 +1159,7 @@ void PacketList::sectionResized(int, int, int)
// our doing. Either way this catches that and fixes it.
if (isVisible()) {
column_state_ = header()->saveState();
+ redrawVisiblePackets();
}
}