mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-18 10:56:11 +00:00
Fix function widget unintentional shortcut activation. (#3389)
Happens when typing in filter. Only observed using Qt5 Appimage builds.
This commit is contained in:
parent
22094c298c
commit
f2692cb847
@ -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") {
|
||||||
|
Loading…
Reference in New Issue
Block a user