1
1
Fork 0
mirror of https://github.com/FellippeHeitor/InForm.git synced 2025-01-15 11:59:34 +00:00

Fix minor undo bug.

Pictureboxes were being restored with HasBorder active even when this property was not set.
This commit is contained in:
FellippeHeitor 2016-12-20 19:37:55 -02:00
parent 8599933440
commit 2ac3bf1e3b

View file

@ -880,6 +880,7 @@ SUB LoadPreview
END IF
TempValue = __UI_NewControl(NewType, NewName, NewWidth, NewHeight, NewLeft, NewTop, __UI_GetID(NewParentID))
IF NewType = __UI_Type_PictureBox THEN Control(TempValue).HasBorder = False
DO 'read properties
b$ = SPACE$(2): GET #BinaryFileNum, , b$