forked from osmocom/wireshark
Qt: Hide columns after setting widths
In columnsChanged() the visibility must be set after setting the width to avoid that setting width overwrites visibility. This should fix hidden columns displayed during first capture. Bug: 12377 Change-Id: Idbbf36b014724970775c34b0c08803de9b006742 Reviewed-on: https://code.wireshark.org/review/17755 Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
This commit is contained in:
parent
39c3ddf861
commit
6bedad69b6
|
@ -780,10 +780,10 @@ void PacketList::columnsChanged()
|
|||
prefs.num_cols = g_list_length(prefs.col_list);
|
||||
col_cleanup(&cap_file_->cinfo);
|
||||
build_column_format_array(&cap_file_->cinfo, prefs.num_cols, FALSE);
|
||||
setColumnVisibility();
|
||||
create_far_overlay_ = true;
|
||||
resetColumns();
|
||||
applyRecentColumnWidths();
|
||||
setColumnVisibility();
|
||||
columns_changed_ = false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue