From f2692cb847f11ad0b9ec6decb95a6688eb65560a Mon Sep 17 00:00:00 2001 From: karliss Date: Sun, 10 Nov 2024 15:38:16 +0200 Subject: [PATCH] Fix function widget unintentional shortcut activation. (#3389) Happens when typing in filter. Only observed using Qt5 Appimage builds. --- src/widgets/FunctionsWidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/FunctionsWidget.cpp b/src/widgets/FunctionsWidget.cpp index 10d325fcd..c872174b3 100644 --- a/src/widgets/FunctionsWidget.cpp +++ b/src/widgets/FunctionsWidget.cpp @@ -533,7 +533,7 @@ FunctionsWidget::FunctionsWidget(MainWindow *main) itemConextMenu->addAction(&actionUndefine); itemConextMenu->setWholeFunction(true); - addActions(itemConextMenu->actions()); + ui->treeView->addActions(itemConextMenu->actions()); // Use a custom context menu on the dock title bar if (Config()->getFunctionsWidgetLayout() == "horizontal") {