1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-03-21 22:50:14 +03:00

fix #881,load launchers correctly in plasma panel

This commit is contained in:
Michail Vourlakos 2018-02-25 23:36:06 +02:00
parent aaecd4de15
commit a6d92153f9
2 changed files with 3 additions and 1 deletions

View File

@ -25,7 +25,7 @@ var indicator = 'multi';
var plasmoid;
function importLaunchersToNewArchitecture(){
if (plasmoid.configuration.launchers59.length>0)
if (plasmoid.configuration.launchers59.length>0 || plasmoid.configuration.launchers.length===0)
return;
console.log("------------- Importing Launchers To New Architecture --------------");

View File

@ -617,6 +617,8 @@ Item {
} else {
plasmoid.configuration.launchers59 = launcherList;
}
} else {
plasmoid.configuration.launchers59 = launcherList;
}
}