diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2015-11-21 00:24:30 +0100 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2015-11-22 17:11:35 +0000 |
commit | be6a54f6fc3787a580a6290d2e8272a9c27ff62c (patch) | |
tree | 09ee50951a3045829f237c2dc70bf822c915aefe | |
parent | 42f7ce10d8dba1b3529bf4f0cb4a6b715717192c (diff) | |
download | wireshark-be6a54f6fc3787a580a6290d2e8272a9c27ff62c.tar.gz |
Qt: save columns position before freezing
It allows to restore them properly in thaw()
Bug: 11737
Change-Id: Ibee6ee701ab64019ee03666c652c232770b3bb74
Reviewed-on: https://code.wireshark.org/review/12037
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
-rw-r--r-- | ui/qt/packet_list.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/qt/packet_list.cpp b/ui/qt/packet_list.cpp index d3dfc48e2b..c027581c7d 100644 --- a/ui/qt/packet_list.cpp +++ b/ui/qt/packet_list.cpp @@ -763,6 +763,7 @@ void PacketList::captureFileReadFinished() void PacketList::freeze() { setUpdatesEnabled(false); + column_state_ = header()->saveState(); setModel(NULL); // It looks like GTK+ sends a cursor-changed signal at this point but Qt doesn't // call selectionChanged. |