forked from osmocom/wireshark
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/11999 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Stig Bjørlykke <stig@bjorlykke.org>
This commit is contained in:
parent
45259fb303
commit
17e088ba0e
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue