Commit 7e9f30da authored by verdre's avatar verdre

appDisplay: Ensure we don't recreate existing AppIcons for folders

This was missed in 910037f0, make sure
we do the same thing for AppIcons that are created when reloading
folders.

GNOME/gnome-shell!851
parent 28426700
......@@ -1417,7 +1417,10 @@ class FolderView extends BaseAppView {
if (apps.some(appIcon => appIcon.id == appId))
return;
let icon = new AppIcon(app);
let icon = this._items[appId];
if (!icon)
icon = new AppIcon(app);
apps.push(icon);
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment