From 51f1e30140e19c4c36aa565a6236f9c1bafa7d69 Mon Sep 17 00:00:00 2001 From: Albin Johansson Date: Sat, 15 Jun 2024 22:48:11 +0200 Subject: [PATCH] Make it possible to create more than one property --- source/core/src/tactile/core/ui/dock/property_dock.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/core/src/tactile/core/ui/dock/property_dock.cpp b/source/core/src/tactile/core/ui/dock/property_dock.cpp index f4c1308064..91af1a33ee 100644 --- a/source/core/src/tactile/core/ui/dock/property_dock.cpp +++ b/source/core/src/tactile/core/ui/dock/property_dock.cpp @@ -28,6 +28,7 @@ void _push_property_table_context_menu_content(const Language& language, { if (const DisabledScope disable_if {prop_name != nullptr}; ImGui::Selectable(language.get(StringID::kCreateProperty))) { + dispatcher.push(context_entity); } ImGui::Separator();