at least 4 favorites

This commit is contained in:
Marco Martin 2020-07-21 12:35:50 +02:00
parent d6bd455b1e
commit a5d1f4d880

View file

@ -66,7 +66,7 @@ Item {
return;
}
plasmoid.nativeInterface.applicationListModel.maxFavoriteCount = Math.floor(Math.min(width, height) / launcher.cellWidth);
plasmoid.nativeInterface.applicationListModel.maxFavoriteCount = Math.max(4, Math.floor(Math.min(width, height) / launcher.cellWidth));
}
//END functions