Auto-set the first SSH executable from the dropdown when user activates SSH tunnel checkbox. See https://www.heidisql.com/forum.php?t=40399

This commit is contained in:
Ansgar Becker
2023-02-27 20:34:02 +01:00
parent 082574d340
commit bff590e26c

View File

@ -198,6 +198,7 @@ type
CellPaintMode: TVTCellPaintMode; CellRect: TRect; var ContentRect: TRect);
procedure actFilterExecute(Sender: TObject);
procedure timerEditFilterDelayTimer(Sender: TObject);
procedure chkSSHActiveClick(Sender: TObject);
private
{ Private declarations }
FLoaded: Boolean;
@ -1204,6 +1205,13 @@ begin
end;
procedure Tconnform.chkSSHActiveClick(Sender: TObject);
begin
if (comboSSHExe.Text = '') and (comboSSHExe.Items.Count > 0) then
comboSSHExe.ItemIndex := 0;
Modification(Sender);
end;
procedure Tconnform.ColorBoxBackgroundColorGetColors(Sender: TCustomColorBox;
Items: TStrings);
var