End possible opened grid editor when tab focus changes, which unfortunately doesn't fire the OnExit event into the editor. Fixes issue #1273

This commit is contained in:
Ansgar Becker
2009-07-25 21:28:39 +00:00
parent e0761cedd9
commit d3b1cf80c9

View File

@ -1639,6 +1639,8 @@ end;
procedure TfrmTableEditor.PageControlMainChange(Sender: TObject);
begin
if treeIndexes.IsEditing then
treeIndexes.EndEditNode;
UpdateSQLcode;
end;