From 2481a1da2022d0359255e967e30bbd02f4ec9d33 Mon Sep 17 00:00:00 2001 From: mappu Date: Sat, 15 Jun 2024 11:42:23 +1200 Subject: [PATCH] gui: set main app icon --- main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main.go b/main.go index c158a4e..81cfbe8 100644 --- a/main.go +++ b/main.go @@ -41,6 +41,7 @@ func (f *TMainForm) OnFormCreate(sender vcl.IObject) { f.ImageList = loadImages(f) f.SetCaption("yvbolt") + f.ImageList.GetIcon(imgDatabaseLightning, f.Icon()) mnuFile := vcl.NewMenuItem(f) mnuFile.SetCaption("File")