@@ -529,10 +529,6 @@ TMainForm = class(THelpAwareForm)
529
529
// / <summary>Selects a tab in the details pane where the tab is provided by
530
530
// / the TDetailTabAction instance referenced by Sender.</summary>
531
531
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);
536
532
// / <summary>Handles events that inform of changes to the database. The
537
533
// / EvtInfo object provides information about the change.</summary>
538
534
procedure DBChangeHandler (Sender: TObject; const EvtInfo: IInterface);
@@ -1048,17 +1044,6 @@ procedure TMainForm.actSelectSnippetsExecute(Sender: TObject);
1048
1044
DoSearchFilter(Search);
1049
1045
end ;
1050
1046
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
-
1062
1047
procedure TMainForm.ActSubmitOrExportUpdate (Sender: TObject);
1063
1048
begin
1064
1049
// TODO -cRefactor: rename method - no longer shared
@@ -1389,9 +1374,6 @@ procedure TMainForm.InitForm;
1389
1374
SetNewsAction(actBlog);
1390
1375
// SetCheckForUpdatesAction(actProgramUpdates);
1391
1376
SetAboutBoxAction(actAbout);
1392
- SetShowPrefsPageAction(
1393
- TActionFactory.CreateShowPrefsPageAction(Self, ActShowPrefsPageExecute)
1394
- );
1395
1377
end ;
1396
1378
1397
1379
// Customise web browser controls in Details pane
0 commit comments