Skip to content
Commit 02325c52 authored by Andrey Butirsky's avatar Andrey Butirsky
Browse files

fix: Keyboard layout shortcuts activate wrong language

Fixes spare layout's shortcuts activating wrong layout after first use, see the bug for the details.

When we switch to a spare layout (by the shortcuts or via applet's menu), rearrangement of layouts happen - the spare one become the last in the main loop, preempting the previous one on it's place.  
Layouts-specific shortcut actions activate the layout by index which is hold in the action's data. Thus, the indexes should be adjusted accordingly.
 
BUG: 444569
parent 754e229b
Pipeline #233290 passed with stage
in 3 minutes and 46 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