@@ -529,10 +529,6 @@ TMainForm = class(THelpAwareForm)
529529 // / <summary>Selects a tab in the details pane where the tab is provided by
530530 // / the TDetailTabAction instance referenced by Sender.</summary>
531531 procedure ActSelectDetailTabExecute (Sender: TObject);
532- // / <summary>Displays Preferences dialogue box containing the single page
533- // / specified by the TShowPrefsPageAction instance referenced by Sender.
534- // / </summary>
535- procedure ActShowPrefsPageExecute (Sender: TObject);
536532 // / <summary>Handles events that inform of changes to the database. The
537533 // / EvtInfo object provides information about the change.</summary>
538534 procedure DBChangeHandler (Sender: TObject; const EvtInfo: IInterface);
@@ -1048,17 +1044,6 @@ procedure TMainForm.actSelectSnippetsExecute(Sender: TObject);
10481044 DoSearchFilter(Search);
10491045end ;
10501046
1051- procedure TMainForm.ActShowPrefsPageExecute (Sender: TObject);
1052- var
1053- UpdateUI: Boolean; // flag true if preference changes affect main window UI
1054- begin
1055- fDialogMgr.ExecPreferencesDlg(
1056- (Sender as TShowPrefsPageAction).FrameClassName, UpdateUI
1057- );
1058- if UpdateUI then
1059- fMainDisplayMgr.CompleteRefresh;
1060- end ;
1061-
10621047procedure TMainForm.ActSubmitOrExportUpdate (Sender: TObject);
10631048begin
10641049 // TODO -cRefactor: rename method - no longer shared
@@ -1389,9 +1374,6 @@ procedure TMainForm.InitForm;
13891374 SetNewsAction(actBlog);
13901375 // SetCheckForUpdatesAction(actProgramUpdates);
13911376 SetAboutBoxAction(actAbout);
1392- SetShowPrefsPageAction(
1393- TActionFactory.CreateShowPrefsPageAction(Self, ActShowPrefsPageExecute)
1394- );
13951377 end ;
13961378
13971379 // Customise web browser controls in Details pane
0 commit comments