From 96a07cf7d9c39010e9bbd50f5a09bcb5d87f0b08 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Sun, 5 Jan 2025 01:26:19 +0100 Subject: [PATCH] Fix space menu duplicate entries not getting removed --- resources/qml/components/SpaceMenuLevel.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/qml/components/SpaceMenuLevel.qml b/resources/qml/components/SpaceMenuLevel.qml index 570e115d..9b7735f8 100644 --- a/resources/qml/components/SpaceMenuLevel.qml +++ b/resources/qml/components/SpaceMenuLevel.qml @@ -82,7 +82,7 @@ Menu { onObjectAdded: (idx, o) => { spacesMenu.insertMenu(idx + (spacesMenu.position != -1 ? 6 : 0), o) } - onObjectRemoved: (index, object) => tagsMenu.removeItem(object) + onObjectRemoved: (index, object) => spacesMenu.removeMenu(object) delegate: childMenu }