From c07363535536b4201ceaf8126e187c7fc619a3fd Mon Sep 17 00:00:00 2001 From: skalogryz Date: Sun, 25 Dec 2011 05:24:55 +0000 Subject: [PATCH] chelper: fixed default tab selection and parameters loading (broken by previous change) git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2198 8e941d3f-bd1b-0410-a28a-d453659cc2b4 --- components/chelper/extconvdialog.lfm | 4 ++-- components/chelper/extconvdialog.pas | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/chelper/extconvdialog.lfm b/components/chelper/extconvdialog.lfm index 8689d88bc..d1fdbc14c 100644 --- a/components/chelper/extconvdialog.lfm +++ b/components/chelper/extconvdialog.lfm @@ -14,14 +14,14 @@ object CtoPasConfig: TCtoPasConfig Height = 564 Top = 10 Width = 648 - ActivePage = ConvPage + ActivePage = MainPage Align = alClient BorderSpacing.Left = 5 BorderSpacing.Top = 5 BorderSpacing.Right = 5 BorderSpacing.Bottom = 5 BorderSpacing.Around = 5 - TabIndex = 1 + TabIndex = 0 TabOrder = 0 object MainPage: TTabSheet Caption = 'Main' diff --git a/components/chelper/extconvdialog.pas b/components/chelper/extconvdialog.pas index e46ed3c5c..0dd265c89 100644 --- a/components/chelper/extconvdialog.pas +++ b/components/chelper/extconvdialog.pas @@ -7,7 +7,7 @@ interface uses Classes,SysUtils,FileUtil,Forms,Controls,Graphics,Dialogs,StdCtrls,ExtCtrls, converteridesettings, ctopasconvert, - //LazIDEIntf, + LazIDEIntf, ComCtrls; type @@ -117,7 +117,7 @@ begin except end; end; - //LazarusIDE.DoOpenEditorFile(edtDefines.Text, 0, 0, [ofQuiet, ofRegularFile, ofDoNotLoadResource, ofDoLoadResource]); + LazarusIDE.DoOpenEditorFile(edtDefines.Text, 0, 0, [ofQuiet, ofRegularFile, ofDoNotLoadResource, ofDoLoadResource]); end; procedure TCtoPasConfig.FormClose(Sender:TObject;var CloseAction:TCloseAction);