mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
Work around broken ToolButton with Style=tbsDropDown after translation: https://sourceforge.net/tracker/index.php?func=detail&aid=902470&group_id=74086&atid=539908
Fixes issue #3066.
This commit is contained in:
@@ -164,6 +164,10 @@ procedure TfrmTextEditor.FormCreate(Sender: TObject);
|
||||
begin
|
||||
InheritFont(Font);
|
||||
TranslateComponent(Self);
|
||||
// Work around broken dropdown toolbutton after translation:
|
||||
// https://sourceforge.net/tracker/index.php?func=detail&aid=902470&group_id=74086&atid=539908
|
||||
btnLinebreaks.Style := tbsButton;
|
||||
btnLinebreaks.Style := tbsDropDown;
|
||||
end;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user