summaryrefslogtreecommitdiff
path: root/ui/qt/proto_tree.cpp
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2012-08-20 04:34:23 +0000
committerGerald Combs <gerald@wireshark.org>2012-08-20 04:34:23 +0000
commit2f9b5d31e485af4ac0afd63fe0176c0114defe35 (patch)
treeae12019f9b9b46bd4d640c0f53e2c8e6e5c6a02f /ui/qt/proto_tree.cpp
parent66115d1200e1041c1f805ee6cff7dec2bc24eadf (diff)
downloadwireshark-2f9b5d31e485af4ac0afd63fe0176c0114defe35.tar.gz
Basic "Go to Packet" implementation.
svn path=/trunk/; revision=44594
Diffstat (limited to 'ui/qt/proto_tree.cpp')
-rw-r--r--ui/qt/proto_tree.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt/proto_tree.cpp b/ui/qt/proto_tree.cpp
index 1c490a3b47..a2c1cacde8 100644
--- a/ui/qt/proto_tree.cpp
+++ b/ui/qt/proto_tree.cpp
@@ -328,7 +328,7 @@ void ProtoTree::itemDoubleClick(QTreeWidgetItem *item, int column) {
fi = item->data(0, Qt::UserRole).value<field_info *>();
if(fi->hfinfo->type == FT_FRAMENUM) {
- emit goToFrame(fi->value.value.uinteger - 1);
+ emit goToFrame(fi->value.value.uinteger);
}
if(FI_GET_FLAG(fi, FI_URL) && IS_FT_STRING(fi->hfinfo->type)) {