Skip to content

Commit

Permalink
Qt: Select correct packet from list
Browse files Browse the repository at this point in the history
Change-Id: Id29d74506f7f009b7f14a86d8fc7c299711c4c2c
Reviewed-on: https://code.wireshark.org/review/24393
Petri-Dish: Stig Bjørlykke <[email protected]>
Reviewed-by: Stig Bjørlykke <[email protected]>
  • Loading branch information
stigbjorlykke committed Nov 12, 2017
1 parent e38c89d commit b5a1145
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ui/qt/packet_list.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -489,8 +489,7 @@ void PacketList::selectionChanged (const QItemSelection & selected, const QItemS
if (selected.isEmpty()) {
cf_unselect_packet(cap_file_);
} else {
/* Framenumbers should allways reflect real frame numbers (can't start at 0) */
row = selected.first().top() + 1;
row = selected.first().top();
cf_select_packet(cap_file_, row);
}

Expand Down

0 comments on commit b5a1145

Please sign in to comment.