Fix tab bar layout key handling in RTL
Summary: Current code will, when mirrored, treat all keys like they're the left key. BUG: 379894 Test Plan: Ran plasma in RTL Reviewers: #plasma, broulik Reviewed By: #plasma, broulik Subscribers: plasma-devel, #frameworks Tags: #plasma, #frameworks Differential Revision: https://phabricator.kde.org/D6480
This commit is contained in:
parent
1e689a0e63
commit
06410e779b
@ -77,7 +77,7 @@ Item {
|
||||
if (event.key == Qt.Key_Right) {
|
||||
(priv.mirrored ? priv.goPreviousTab : priv.goNextTab)();
|
||||
event.accepted = true
|
||||
} else if (event.key == Qt.Key_Left || priv.mirrored) {
|
||||
} else if (event.key == Qt.Key_Left) {
|
||||
(priv.mirrored ? priv.goNextTab : priv.goPreviousTab)();
|
||||
event.accepted = true
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user