https://bugs.kde.org/show_bug.cgi?id=434713

--- Comment #11 from Driglu4it <d...@i-glu4it.ru> ---
To prevent the assignment of a third-party shortcut, you can remove the remove
tab from the widget settings. Put this in the root element of the widget
settings page (configGeneral.qml - formLayout):

        function getTopItem(item) {
                var curItem = item
                while (curItem.parent) {
                        curItem = curItem.parent
                }
                return curItem
        }
        function hideKeyboardShortcutTab() {
                var appletConfiguration
                appletConfiguration = getTopItem(app)
                if (typeof appletConfiguration !== "undefined" && typeof
appletConfiguration.globalConfigModel !== "undefined") {
                       
appletConfiguration.globalConfigModel.removeCategoryAt(0)
                }
        }
        Component.onCompleted: {
                hideKeyboardShortcutTab()
        }

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to