From 375f12ff1ef750568391ec2deaa6b193eed6836d Mon Sep 17 00:00:00 2001 From: Evgeny Prikazchikov Date: Thu, 27 Mar 2025 17:38:44 +0300 Subject: [PATCH] Editor: Unable to delete component #961 --- worldeditor/src/screens/propertyedit/property.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/worldeditor/src/screens/propertyedit/property.cpp b/worldeditor/src/screens/propertyedit/property.cpp index ca009f120..f9653d55d 100644 --- a/worldeditor/src/screens/propertyedit/property.cpp +++ b/worldeditor/src/screens/propertyedit/property.cpp @@ -90,6 +90,8 @@ void Property::setPropertyObject(Object *propertyObject) { if(index > -1) { const MetaProperty property(meta->property(index)); m_readOnly = hasTag(property, gReadOnlyTag); + } else { + m_readOnly = false; } if(m_root) {