mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-06 18:24:26 +08:00
Disable SSH tunnel connections on Windows 10 S, as a requirement for publishing HeidiSQL in the Windows App store, #60.
This commit is contained in:
@ -214,7 +214,7 @@ end;
|
||||
|
||||
procedure Tconnform.FormCreate(Sender: TObject);
|
||||
var
|
||||
LastActiveSession: String;
|
||||
LastActiveSession, NetTypeStr: String;
|
||||
LastSessions: TStringList;
|
||||
PSess: PConnectionParameters;
|
||||
nt: TNetType;
|
||||
@ -244,8 +244,13 @@ begin
|
||||
|
||||
comboNetType.Clear;
|
||||
Params := TConnectionParameters.Create;
|
||||
for nt:=Low(nt) to High(nt) do
|
||||
comboNetType.Items.Add(Params.NetTypeName(nt, True));
|
||||
for nt:=Low(nt) to High(nt) do begin
|
||||
NetTypeStr := Params.NetTypeName(nt, True);
|
||||
if RunningOnWindows10S and (not Params.IsCompatibleToWin10S(nt)) then begin
|
||||
NetTypeStr := NetTypeStr + ' ['+_('Does not work on Windows 10 S')+']';
|
||||
end;
|
||||
comboNetType.Items.Add(NetTypeStr);
|
||||
end;
|
||||
Params.Free;
|
||||
|
||||
// Init sessions tree
|
||||
|
Reference in New Issue
Block a user