From 028f3c9fa77caa896b14b42a1360476525478468 Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Wed, 5 May 2021 14:05:19 -0400 Subject: Use standard contextMenuEvent for right click --- ui/flowgraphwidget.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/flowgraphwidget.h b/ui/flowgraphwidget.h index 9399b26e..678f4b51 100644 --- a/ui/flowgraphwidget.h +++ b/ui/flowgraphwidget.h @@ -161,7 +161,7 @@ protected: HighlightTokenState getTokenForMouseEvent(QMouseEvent* event); - void showContextMenu(); + virtual void contextMenuEvent(QContextMenuEvent*) override; void bindActions(); void navigateToAddress(uint64_t addr); -- cgit v1.3.1