Issue #1482: high DPI related: call RestoreListSetup in any FormShow event, not FormCreate, move FixVT again to FormShow

This commit is contained in:
Ansgar Becker
2025-03-30 12:41:06 +02:00
parent b2b5cf6ad3
commit b266d1475e
5 changed files with 12 additions and 10 deletions

View File

@ -291,8 +291,6 @@ begin
MakeFullyVisible;
pnlLeft.Width := AppSettings.ReadInt(asSessionManagerListWidth);
splitterMain.OnMoved(Sender);
FixVT(ListSessions);
RestoreListSetup(ListSessions);
// Fix GUI stuff
HasSizeGrip := True;
@ -401,6 +399,9 @@ var
PSess: PConnectionParameters;
Node: PVirtualNode;
begin
FixVT(ListSessions);
RestoreListSetup(ListSessions);
// Init sessions tree
RefreshSessions(nil);