mirror of
https://github.com/KDE/latte-dock.git
synced 2025-03-23 14:50:35 +03:00
RTL fix for move layout icon arrow
This commit is contained in:
parent
8a3afc32ca
commit
50cde5838e
@ -535,9 +535,10 @@ FocusScope {
|
||||
|
||||
if (tempActiveLayouts.length > 0) {
|
||||
activeLayoutsNames = tempActiveLayouts;
|
||||
var iconArrow = Qt.application.layoutDirection === Qt.RightToLeft ? 'arrow-left' : 'arrow-right';
|
||||
|
||||
for(var i=0; i<activeLayoutsNames.length; ++i) {
|
||||
var layout = {actionId: 'move:', name: i18n("Move to: %0").arg(activeLayoutsNames[i]), icon: 'arrow-right'};
|
||||
var layout = {actionId: 'move:', name: i18n("Move to: %0").arg(activeLayoutsNames[i]), icon: iconArrow};
|
||||
actionsModel.append(layout);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user