mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-06 18:24:26 +08:00
Fix activated SSH tunnel for a network type which does not support that, after changing the network type from an explicit SSH-tunnel-type to a TCP/IP version.
This commit is contained in:
@ -492,7 +492,7 @@ begin
|
||||
Sess.AllDatabasesStr := editDatabases.Text;
|
||||
Sess.Comment := memoComment.Text;
|
||||
Sess.StartupScriptFilename := editStartupScript.Text;
|
||||
Sess.SSHActive := chkSSHActive.Checked;
|
||||
Sess.SSHActive := chkSSHActive.Enabled and chkSSHActive.Checked;
|
||||
Sess.SSHExe := comboSSHExe.Text;
|
||||
Sess.SSHHost := editSSHhost.Text;
|
||||
Sess.SSHPort := MakeInt(editSSHport.Text);
|
||||
@ -715,7 +715,7 @@ begin
|
||||
Result.AllDatabasesStr := editDatabases.Text;
|
||||
Result.LibraryOrProvider := comboLibrary.Text;
|
||||
Result.Comment := memoComment.Text;
|
||||
Result.SSHActive := chkSSHActive.Checked;
|
||||
Result.SSHActive := chkSSHActive.Enabled and chkSSHActive.Checked;
|
||||
Result.SSHHost := editSSHHost.Text;
|
||||
Result.SSHPort := MakeInt(editSSHPort.Text);
|
||||
Result.SSHUser := editSSHuser.Text;
|
||||
|
Reference in New Issue
Block a user