mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-14 01:56:36 +08:00
Primary key columns can be hidden in data grid. Pressing home key has to use first visible column instead of column 0. Fixes issue #2559.
This commit is contained in:
@ -7406,7 +7406,7 @@ var
|
||||
begin
|
||||
g := TVirtualStringTree(Sender);
|
||||
case Key of
|
||||
VK_HOME: g.FocusedColumn := 0;
|
||||
VK_HOME: g.FocusedColumn := g.Header.Columns.GetFirstVisibleColumn(False);
|
||||
VK_END: begin
|
||||
if (ssCtrl in Shift) and (g = DataGrid) then
|
||||
actDataShowAll.Execute;
|
||||
|
Reference in New Issue
Block a user