From 6add5cbc688cd00bf0253592d3fbc514f51ee284 Mon Sep 17 00:00:00 2001 From: Karliss Date: Mon, 28 Oct 2024 09:22:22 +0200 Subject: [PATCH] Fix function widget unintned shortcut activation. 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") {