mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
Ignore TFont when translating main form, so "Default" does not get broken, for XP users. Fixes issue #3064.
This commit is contained in:
@@ -1330,6 +1330,11 @@ var
|
||||
begin
|
||||
caption := APPNAME;
|
||||
|
||||
// First time translation via dxgettext.
|
||||
// Issue #3064: Ignore TFont, so "Default" on mainform for WinXP users does not get broken.
|
||||
// Issue #557: Apply images *after* translating main menu, so top items don't get unused
|
||||
// space left besides them.
|
||||
TP_GlobalIgnoreClass(TFont);
|
||||
TranslateComponent(Self);
|
||||
MainMenu1.Images := ImageListMain;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user