diff --git a/lcl/include/customform.inc b/lcl/include/customform.inc index 9337f5a519..d728b15a2c 100644 --- a/lcl/include/customform.inc +++ b/lcl/include/customform.inc @@ -2663,7 +2663,6 @@ begin Screen.FSaveFocusedList.Insert(0, Screen.FFocusedForm); Screen.FFocusedForm := Self; Screen.MoveFormToFocusFront(Self); - Screen.MoveFormToZFront(Self); ModalResult := 0; try