diff --git a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/HexViewerWidget/ItemGraphicsScene.cpp b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/HexViewerWidget/ItemGraphicsScene.cpp index 4f8b69c3..82556fb5 100644 --- a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/HexViewerWidget/ItemGraphicsScene.cpp +++ b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/HexViewerWidget/ItemGraphicsScene.cpp @@ -325,6 +325,10 @@ namespace Bloom::Widgets return QGraphicsScene::event(event); } + void ItemGraphicsScene::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* mouseEvent) { + this->mousePressEvent(mouseEvent); + } + void ItemGraphicsScene::mousePressEvent(QGraphicsSceneMouseEvent* mouseEvent) { static const auto rubberBandRectBackgroundColor = QColor(0x3C, 0x59, 0x5C, 0x82); static const auto rubberBandRectBorderColor = QColor(0x3C, 0x59, 0x5C, 255); diff --git a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/HexViewerWidget/ItemGraphicsScene.hpp b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/HexViewerWidget/ItemGraphicsScene.hpp index 3289e4cb..9a4016a2 100644 --- a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/HexViewerWidget/ItemGraphicsScene.hpp +++ b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/HexViewerWidget/ItemGraphicsScene.hpp @@ -68,6 +68,7 @@ namespace Bloom::Widgets protected: bool event(QEvent* event) override; + void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* mouseEvent) override; void mousePressEvent(QGraphicsSceneMouseEvent* mouseEvent) override; void mouseMoveEvent(QGraphicsSceneMouseEvent* mouseEvent) override; void mouseReleaseEvent(QGraphicsSceneMouseEvent* mouseEvent) override;