diff --git a/src/editor/JulGameEditor/Editor.jl b/src/editor/JulGameEditor/Editor.jl index 2e5fa38c..66187861 100644 --- a/src/editor/JulGameEditor/Editor.jl +++ b/src/editor/JulGameEditor/Editor.jl @@ -326,7 +326,7 @@ module Editor CImGui.Separator() CImGui.Text("Delete UI Element: NO CONFIRMATION") if CImGui.Button("Delete") - #MainLoop.DestroyEntity(currentSceneMain.scene.uiElements[uiElementIndex]) + MainLoop.DestroyUIElement(currentSceneMain.scene.uiElements[uiElementIndex]) break end