diff --git a/js/ui/dash.js b/js/ui/dash.js index 16893f976..6b4c114e7 100644 --- a/js/ui/dash.js +++ b/js/ui/dash.js @@ -745,7 +745,7 @@ var Dash = GObject.registerClass({ // Update separator const nFavorites = Object.keys(favorites).length; - const nIcons = children.length - removedActors.length; + const nIcons = children.length + addedItems.length - removedActors.length; if (nFavorites > 0 && nFavorites < nIcons) { if (!this._separator) { this._separator = new St.Widget({