mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-06 18:24:26 +08:00
Try the same workaround for invisible or black dropdown buttons on Wine as previously only for dropdown toolbuttons (becd4bdd0e3845f9ad7845fe7637460914878afa and 61202be058cc135f938a131207f47f9546efff26). Probably fixes issue #94. May also not fix it, as the toolbutton issue was not only on Wine.
This commit is contained in:
@ -160,10 +160,7 @@ begin
|
||||
actSearchReplace.Caption := MainForm.actQueryReplace.Caption;
|
||||
actSearchReplace.Hint := MainForm.actQueryReplace.Hint;
|
||||
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;
|
||||
FixDropDownButtons(Self);
|
||||
// Assign linebreak values to their menu item tags, to write less code later
|
||||
menuWindowsLB.Tag := Integer(lbsWindows);
|
||||
menuUnixLB.Tag := Integer(lbsUnix);
|
||||
|
Reference in New Issue
Block a user