diff options
Diffstat (limited to 'ui/qt/packet_list_model.cpp')
-rw-r--r-- | ui/qt/packet_list_model.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ui/qt/packet_list_model.cpp b/ui/qt/packet_list_model.cpp index 5b10900158..404dda58ab 100644 --- a/ui/qt/packet_list_model.cpp +++ b/ui/qt/packet_list_model.cpp @@ -93,11 +93,8 @@ guint PacketListModel::recreateVisibleRows() beginResetModel(); visible_rows_.clear(); number_to_row_.clear(); - if (cap_file_) { - PacketListRecord::resetColumns(&cap_file_->cinfo); - } - endResetModel(); + beginInsertRows(QModelIndex(), pos, pos); foreach (record, physical_rows_) { if (record->frameData()->flags.passed_dfilter || record->frameData()->flags.ref_time) { |