mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-06 18:24:26 +08:00
Issue #1482: high DPI related: call RestoreListSetup in any FormShow event, not FormCreate, move FixVT again to FormShow
This commit is contained in:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user