1
1
Fork 0
mirror of https://github.com/FellippeHeitor/InForm.git synced 2025-01-15 03:49:56 +00:00

Fixes bug that wouldn't allow pasting of controls reliably.

This commit is contained in:
FellippeHeitor 2018-06-26 01:32:36 -03:00
parent 8d1b9374da
commit c62cc8b3cd

View file

@ -1802,7 +1802,7 @@ SUB LoadPreview (Destination AS _BYTE)
END IF
END IF
IF INSTR(NameChanges$, NewParentID + "=") THEN
IF LEN(NewParentID) > 0 AND INSTR(NameChanges$, NewParentID + "=") THEN
'This control's container had a name change when it was
'pasted, so we'll reassign it to its new cloned parent:
DIM NewID AS LONG, EndNewID AS LONG