Skip to content
Commit 2cb9201b 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 the 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 becomes 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


(cherry picked from commit 7525b4a6)
parent cb3cbbe3
Pipeline #233291 passed with stage
in 4 minutes and 11 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