Fix function widget unintentional shortcut activation. (#3389)

Happens when typing in filter. Only observed using Qt5 Appimage builds.
This commit is contained in:
karliss 2024-11-10 15:38:16 +02:00 committed by GitHub
parent 22094c298c
commit f2692cb847
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -533,7 +533,7 @@ FunctionsWidget::FunctionsWidget(MainWindow *main)
itemConextMenu->addAction(&actionUndefine); itemConextMenu->addAction(&actionUndefine);
itemConextMenu->setWholeFunction(true); itemConextMenu->setWholeFunction(true);
addActions(itemConextMenu->actions()); ui->treeView->addActions(itemConextMenu->actions());
// Use a custom context menu on the dock title bar // Use a custom context menu on the dock title bar
if (Config()->getFunctionsWidgetLayout() == "horizontal") { if (Config()->getFunctionsWidgetLayout() == "horizontal") {