mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-06 18:24:26 +08:00
Issue #1503: move SaveListSetup and RestoreListSetup to extra_controls unit, and handle column widths DPI independently
This commit is contained in:
@ -349,7 +349,7 @@ begin
|
||||
AppSettings.WriteIntDpiAware(asSessionManagerWindowHeight, Self, Height);
|
||||
AppSettings.WriteInt(asSessionManagerWindowLeft, Left);
|
||||
AppSettings.WriteInt(asSessionManagerWindowTop, Top);
|
||||
MainForm.SaveListSetup(ListSessions);
|
||||
SaveListSetup(ListSessions);
|
||||
end;
|
||||
|
||||
|
||||
@ -369,7 +369,7 @@ begin
|
||||
pnlLeft.Width := AppSettings.ReadIntDpiAware(asSessionManagerListWidth, Self);
|
||||
splitterMain.OnMoved(Sender);
|
||||
FixVT(ListSessions);
|
||||
MainForm.RestoreListSetup(ListSessions);
|
||||
RestoreListSetup(ListSessions);
|
||||
|
||||
// Init sessions tree
|
||||
RefreshSessions(nil);
|
||||
|
Reference in New Issue
Block a user