This adds two new actions to tab popup (with relative harcoded shortcuts) to move the current tab to the left or right.
You can move the first tab to to left or the last one to the right.
FIXED: [ 328937 ] Shortcuts for move tab
BUG: 328937
This adds two new actions to tab popup (with relative harcoded shortcuts) to move the current tab to the left or right.
You can move the first tab to to left or the last one to the right.
FIXED: [ 328937 ] Shortcuts for move tab
BUG: 328937
I'm not sure if some action should be called after moveTab().
Lint Skipped |
Unit Tests Skipped |
Thanks Davide!
Just a few minor corrections in the commit message needed:
This adds two new actions to tab popup (with relative harcoded shortcuts) to move the current tab to the left or right.
You can move the first tab to to left or the last one to the right.
harcoded -> hardcoded
can -> can't
to to -> to
The new code works using Kubuntu 19.04. Other people can do their checks. Davide, using the same keys as Chromium, Firefox, Libreoffice Calc, etc. is a advantage. Thanks, Davide! (and Nikita :-) )
@abika : this is intentional to define that these two methods do nothing when the panel has just one tab, I can change them with a comment remarking this logic
Forgot to add the reference to this revision in the commit message, closed with Shortcuts to move tab