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

--- Comment #1 from tr...@yandex.com ---
I thinks this one is better:
---------------------------------



n          1  2  3  4  5  6  7

Item0:    i1 i2 i3 i4 i5 i6 i7
Key0 :    k1 k2 k3 k4 k5 k6 k7


### Move i2 to n=5
Item1:    i1 i3 i4 i5 i2 i6 i7
Key1 :    k1  -  -  -  - k6 k7

How to correct the shortcuts?
---
for (i in [i3-i4-i5-i2]):
  if (i->key0 == default_key) then: i->key1 == default_key_at-new-position
                              else: i->key1 == i->key0


### Remove i2 = Move i2 to the end + delete i2
Item1:    i1 i3 i4 i5 i6 i7 i2
Key1 :    k1  -  -  -  -  - -
-> Use the above function to correct the shortcuts
-> restore the default shortcut at position n=7

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

Reply via email to