Skip to content

Commit

Permalink
Ensure "Delete row" button state is valid while navigating in a grid …
Browse files Browse the repository at this point in the history
…by keyboard. Closes #624.
  • Loading branch information
ansgarbecker committed Apr 30, 2019
1 parent d039aad commit c3da595
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/main.pas
Expand Up @@ -9202,6 +9202,8 @@ procedure TMainForm.AnyGridFocusChanged(Sender: TBaseVirtualTree; Node: PVirtual

procedure TMainForm.AnyGridChange(Sender: TBaseVirtualTree; Node: PVirtualNode);
begin
// Ensure "delete row" button state is valid, see issue #624
ValidateControls(Sender);
UpdateLineCharPanel;
end;

Expand Down

0 comments on commit c3da595

Please sign in to comment.