aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/packet_diagram.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ui/qt/packet_diagram.cpp')
-rw-r--r--ui/qt/packet_diagram.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/ui/qt/packet_diagram.cpp b/ui/qt/packet_diagram.cpp
index 8a9e901d64..c86a2b90e2 100644
--- a/ui/qt/packet_diagram.cpp
+++ b/ui/qt/packet_diagram.cpp
@@ -623,7 +623,6 @@ void PacketDiagram::setSelectedField(field_info *fi)
foreach (QGraphicsItem *item, scene()->items()) {
if (item->isSelected()) {
item->setSelected(false);
- fi_item = qgraphicsitem_cast<FieldInformationGraphicsItem *>(item);
}
if (fi && VariantPointer<field_info>::asPtr(item->data(Qt::UserRole)) == fi) {
fi_item = qgraphicsitem_cast<FieldInformationGraphicsItem *>(item);