mirror of
https://github.com/4ian/GDevelop.git
synced 2025-10-15 10:19:04 +00:00
Do not validate folder name the same way as for objects
This commit is contained in:
@@ -603,7 +603,9 @@ const ObjectsList = React.forwardRef<Props, ObjectsListInterface>(
|
||||
)
|
||||
return;
|
||||
|
||||
const validatedNewName = getValidatedObjectOrGroupName(newName, global);
|
||||
const validatedNewName = objectFolderOrObject.isFolder()
|
||||
? newName
|
||||
: getValidatedObjectOrGroupName(newName, global);
|
||||
onRenameObjectFolderOrObjectWithContextFinish(
|
||||
item,
|
||||
validatedNewName,
|
||||
|
Reference in New Issue
Block a user