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:
@ -120,10 +120,6 @@ begin
|
||||
//DragAcceptFiles(Handle, True);
|
||||
Width := AppSettings.ReadInt(asFileImportWindowWidth);
|
||||
Height := AppSettings.ReadInt(asFileImportWindowHeight);
|
||||
RestoreListSetup(ListColumns);
|
||||
RestoreListSetup(ListFiles);
|
||||
FixVT(ListFiles);
|
||||
FixVT(ListColumns);
|
||||
end;
|
||||
|
||||
|
||||
@ -138,6 +134,10 @@ end;
|
||||
|
||||
procedure TfrmInsertFiles.FormShow(Sender: TObject);
|
||||
begin
|
||||
RestoreListSetup(ListColumns);
|
||||
RestoreListSetup(ListFiles);
|
||||
FixVT(ListFiles);
|
||||
FixVT(ListColumns);
|
||||
FConnection := Mainform.ActiveConnection;
|
||||
Caption := FConnection.Parameters.SessionName + ' - ' + MainForm.actInsertFiles.Caption;
|
||||
comboDBs.Items.Clear;
|
||||
|
Reference in New Issue
Block a user