Skip to content
Commit 2a1deac0 authored by Waqar Ahmed's avatar Waqar Ahmed Committed by Christoph Cullmann
Browse files

Improve shortcut context / handling of search plugin

By default, KXMLGUI will add the widget of the guiFactory to the
associated widgets of the actionCollection. In this case, the widget
is MainWindow and thus the shortcut becomes active in the whole window.
This leads to shortcut conflicts with other widgets that are using same
shortcuts e.g., Konsole.

Instead, associate the ViewManager to search plugin's actionCollection
so that actions can be activated when a view has focus.
parent f51ea1d9
Pipeline #338417 passed with stage
in 15 minutes and 6 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment