diff options
-rw-r--r-- | ui/qt/packet_list.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt/packet_list.cpp b/ui/qt/packet_list.cpp index 831121ac7d..63af95ddf0 100644 --- a/ui/qt/packet_list.cpp +++ b/ui/qt/packet_list.cpp @@ -1031,7 +1031,7 @@ void PacketList::drawCurrentPacket() { QModelIndex current_index = currentIndex(); if (selectionModel() && current_index.isValid()) { - selectionModel()->clearCurrentIndex(); + selectionModel()->clearSelection(); selectionModel()->setCurrentIndex(current_index, QItemSelectionModel::SelectCurrent | QItemSelectionModel::Rows); } } |