1
0
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:
Michail Vourlakos 2019-03-27 19:57:59 +02:00
parent 8a3afc32ca
commit 50cde5838e

View File

@ -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);
}
}