mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
Force repainting column header in data grid. Fixes issue #2405.
This commit is contained in:
@@ -3839,6 +3839,9 @@ var
|
||||
col.Alignment := taLeftJustify;
|
||||
if DataGridResult.DataType(idx).Category in [dtcInteger, dtcReal] then
|
||||
col.Alignment := taRightJustify;
|
||||
|
||||
// Force repaint, for Wine users
|
||||
vt.Header.Invalidate(col);
|
||||
end;
|
||||
|
||||
begin
|
||||
|
||||
Reference in New Issue
Block a user