Hide hidden columns in Qt.

Change-Id: I1da0d95c606eb2f17c03874f20d38b9a7ba9e8ee
Reviewed-on: https://code.wireshark.org/review/2278
Reviewed-by: Gerald Combs <gerald@wireshark.org>
This commit is contained in:
Gerald Combs 2014-06-16 13:56:06 -07:00
parent aeb1888a50
commit 7f6ebece15
1 changed files with 5 additions and 1 deletions

View File

@ -502,7 +502,6 @@ void PacketList::contextMenuEvent(QContextMenuEvent *event)
act->setEnabled(is_udp);
}
if ((cap_file_ != NULL) && act->text().contains("SSL"))
{
if (epan_dissect_packet_contains_field(cap_file_->edt, "ssl"))
@ -580,6 +579,11 @@ void PacketList::updateAll() {
}
packet_list_model_->resetColumns();
for (int i = 0; i < cap_file_->cinfo.num_cols; i++) {
setColumnHidden(i, !get_column_visible(i));
}
}
void PacketList::freeze()