From 2552578eab05f0531e65108b1174d4b408dfceb6 Mon Sep 17 00:00:00 2001 From: Ashley Wulber Date: Wed, 20 Sep 2023 16:28:53 -0400 Subject: [PATCH] fix(app-list): increment id counter before use --- cosmic-app-list/src/app.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/cosmic-app-list/src/app.rs b/cosmic-app-list/src/app.rs index 0c2c8262..890ad0b4 100755 --- a/cosmic-app-list/src/app.rs +++ b/cosmic-app-list/src/app.rs @@ -811,6 +811,7 @@ impl cosmic::Application for CosmicAppList { { self.active_list.remove(p) } else { + self.item_ctr += 1; DockItem { id: self.item_ctr, toplevels: Default::default(),