Opkman: Hide Options->OpenSSL on non windows systems.

git-svn-id: trunk@61199 -
This commit is contained in:
balazs 2019-05-11 06:41:54 +00:00
parent 7906467427
commit 3fbcfaafe5
3 changed files with 11 additions and 2 deletions

View File

@ -686,7 +686,11 @@ end;
procedure TCreateRepositoryPackagesFrm.bOptionsClick(Sender: TObject);
begin
{$IFDEF MSWINDOWS}
MainFrm.ShowOptions(4);
{$ELSE}
MainFrm.ShowOptions(3);
{$ENDIF}
end;
procedure TCreateRepositoryPackagesFrm.bCancelClick(Sender: TObject);

View File

@ -52,10 +52,10 @@ object OptionsFrm: TOptionsFrm
Height = 498
Top = 6
Width = 623
ActivePage = tsOpenSSL
ActivePage = tsGeneral
Align = alClient
BorderSpacing.Around = 6
TabIndex = 2
TabIndex = 0
TabOrder = 0
object tsGeneral: TTabSheet
Caption = 'General'

View File

@ -540,6 +540,11 @@ begin
rbOpenSSL.Items.Add(rsOptions_rbOpenSSL_Item1);
rbOpenSSL.Items.Add(rsOptions_rbOpenSSL_Item2);
rbOpenSSL.ItemIndex := Options.OpenSSLDownloadType;
{$IFDEF MSWINDOWS}
tsOpenSSL.TabVisible := True;
{$ELSE}
tsOpenSSL.TabVisible := False;
{$ENDIF}
tsFolders.Caption := rsOptions_tsFolders_Caption;
lbLocalRepositoryPackages.Caption := rsOptions_lbLocalRepositoryPackages_Caption;