mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
Fix staying invisible columns in data grid after deselecting one or more and reselecting them.
This commit is contained in:
@@ -3495,7 +3495,9 @@ var
|
||||
col.Hint := TblCol.Comment;
|
||||
col.Options := col.Options + [coSmartResize];
|
||||
if DatagridHiddenColumns.IndexOf(TblCol.Name) > -1 then
|
||||
col.Options := col.Options - [coVisible];
|
||||
col.Options := col.Options - [coVisible]
|
||||
else
|
||||
col.Options := col.Options + [coVisible];
|
||||
// Sorting color and title image
|
||||
col.Color := clWindow;
|
||||
col.ImageIndex := -1;
|
||||
|
||||
Reference in New Issue
Block a user