Skip to content

Commit

Permalink
Corrects issue #524 Problem with MS Sans Serif in Windows 10 in certa…
Browse files Browse the repository at this point in the history
…in situations

Signed-off-by: Daniel Prado Velasco <dpradov@users.noreply.github.com>
  • Loading branch information
dpradov committed Nov 18, 2015
1 parent b4be31f commit d6884b7
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions structure/kn_NoteObj.pas
Expand Up @@ -2167,12 +2167,6 @@ procedure TTreeNote.UpdateEditor;
Language := FEditorChrome.Language;
end;

FEditor.Font.Name := FEditorChrome.Font.Name;
FEditor.Font.Charset := FEditorChrome.Font.Charset;
FEditor.Font.Size := FEditorChrome.Font.Size;
FEditor.Font.Style := FEditorChrome.Font.Style;
FEditor.Font.Color := FEditorChrome.Font.Color;

if ( FEditor.Lines.Count = 0 ) then
begin
FEditor.SelectAll; // IMOPRTANT!
Expand Down

0 comments on commit d6884b7

Please sign in to comment.