1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-02-13 21:57:40 +03:00

correct update hidden applets registry on startup

This commit is contained in:
Michail Vourlakos 2017-05-25 21:13:49 +03:00
parent 51b600725d
commit 8ae052ba79

View File

@ -270,7 +270,7 @@ Item {
// no, -1 = remove hidden // no, -1 = remove hidden
// no, no = update hidden position // no, no = update hidden position
function setHidden(previousId, nextId) { function setHidden(previousId, nextId) {
if (previousId === nextId) if (previousId === nextId && hidden.indexOf(nextId)>-1)
return; return;
var update=false; var update=false;