mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: in the Font Options, an incorrect save prompt may appear if the initial font size is 0
it's because the initial value is 0 when calculating the fingerprint, and it has been set to the minimum value after initialization.
(cherry picked from commit 0ae14457a9)
This commit is contained in:
parent
93b30699b3
commit
b70e58ecf2
1 changed files with 1 additions and 0 deletions
|
|
@ -188,6 +188,7 @@ begin
|
|||
begin
|
||||
LocalVisualFontElements[iFontIndex].FontEdit.Text := gFonts[TDCFont(iFontIndex)].Name;
|
||||
FontOptionsToFont(gFonts[TDCFont(iFontIndex)], LocalVisualFontElements[iFontIndex].FontEdit.Font);
|
||||
LocalVisualFontElements[iFontIndex].FontSpindEdit.HandleNeeded;
|
||||
LocalVisualFontElements[iFontIndex].FontSpindEdit.Value := gFonts[TDCFont(iFontIndex)].Size;
|
||||
end;
|
||||
end;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue