mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-06 18:24:26 +08:00
Fix bug #817 : cannot see anything in the field editor; color is white on white background
This commit is contained in:
@ -67,7 +67,8 @@ end;
|
|||||||
|
|
||||||
procedure TfrmBinEditor.SetFont(font: TFont);
|
procedure TfrmBinEditor.SetFont(font: TFont);
|
||||||
begin
|
begin
|
||||||
memoText.Font := font;
|
memoText.Font.Name := font.Name;
|
||||||
|
memoText.Font.Size := font.Size;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TfrmBinEditor.FormCreate(Sender: TObject);
|
procedure TfrmBinEditor.FormCreate(Sender: TObject);
|
||||||
|
@ -68,7 +68,8 @@ end;
|
|||||||
|
|
||||||
procedure TfrmTextEditor.SetFont(font: TFont);
|
procedure TfrmTextEditor.SetFont(font: TFont);
|
||||||
begin
|
begin
|
||||||
memoText.Font := font;
|
memoText.Font.Name := font.Name;
|
||||||
|
memoText.Font.Size := font.Size;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TfrmTextEditor.FormCreate(Sender: TObject);
|
procedure TfrmTextEditor.FormCreate(Sender: TObject);
|
||||||
|
Reference in New Issue
Block a user