Skip to content

keyboard: Fix behavior of "Replace" when adding custom shortcut

In the shortcut editor, the "Replace" button is shown instead of "Set" or "Add" when there is a collision. But this executes the same code as "Set", so when adding a shortcut, it doesn't actually work.

Merge request reports