Focus first prechecked table or db node in table tools dialog, to trigger a Tree.OnChange call, which again fixes the width of the size column. Fixes issue #2277.

This commit is contained in:
Ansgar Becker
2011-01-26 22:45:20 +00:00
parent 005856d9f0
commit 3d677e963f

View File

@ -258,7 +258,7 @@ begin
FirstChecked := TreeObjects.GetFirstChecked; FirstChecked := TreeObjects.GetFirstChecked;
if Assigned(FirstChecked) then if Assigned(FirstChecked) then
TreeObjects.ScrollIntoView(FirstChecked, True); SelectNode(TreeObjects, FirstChecked);
// CHECKSUM available since MySQL 4.1.1 // CHECKSUM available since MySQL 4.1.1
idx := comboOperation.ItemIndex; idx := comboOperation.ItemIndex;
if idx = -1 then idx := 0; if idx = -1 then idx := 0;