Skip to content

Commit

Permalink
Fix function widget unintentional shortcut activation. (#3389)
Browse files Browse the repository at this point in the history
Happens when typing in filter. Only observed using Qt5 Appimage builds.
  • Loading branch information
karliss authored Nov 10, 2024
1 parent 22094c2 commit f2692cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/widgets/FunctionsWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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") {
Expand Down

0 comments on commit f2692cb

Please sign in to comment.