From 8de40e4f85752b49457fd052c7380fbfccccc1cb Mon Sep 17 00:00:00 2001 From: Mark van Renswoude Date: Wed, 14 Dec 2016 10:17:21 +0100 Subject: [PATCH] Fixed #1: X2UtService Start method gets nil AContext in interactive mode --- X2UtService.GUIContext.pas | 1 + 1 file changed, 1 insertion(+) diff --git a/X2UtService.GUIContext.pas b/X2UtService.GUIContext.pas index c7d2d49..dc4d548 100644 --- a/X2UtService.GUIContext.pas +++ b/X2UtService.GUIContext.pas @@ -49,6 +49,7 @@ begin Application.CreateForm(TX2ServiceContextGUIForm, serviceForm); serviceForm.Caption := AService.DisplayName; + serviceForm.Context := Self; serviceForm.Service := AService; Application.Run;