Changeset 474 for trunk/LocalPlayer/Help.pas
- Timestamp:
- Dec 4, 2023, 7:18:18 PM (12 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LocalPlayer/Help.pas
r471 r474 2044 2044 begin 2045 2045 InputDlg.Caption := Phrases.Lookup('SEARCH'); 2046 InputDlg.E Input.Text := SearchContent;2046 InputDlg.EditInput.Text := SearchContent; 2047 2047 InputDlg.CenterToRect(BoundsRect); 2048 2048 InputDlg.ShowModal; 2049 if (InputDlg.ModalResult = mrOK) and (Length(InputDlg.E Input.Text) >= 2) then2050 begin 2051 Search(InputDlg.E Input.Text);2049 if (InputDlg.ModalResult = mrOK) and (Length(InputDlg.EditInput.Text) >= 2) then 2050 begin 2051 Search(InputDlg.EditInput.Text); 2052 2052 case SearchResult.Count of 2053 2053 0: begin 2054 2054 Gtk2Fix; 2055 2055 SimpleMessage(Format(HelpText.Lookup('NOMATCHES'), 2056 [InputDlg.E Input.Text]));2056 [InputDlg.EditInput.Text])); 2057 2057 end; 2058 2058 1: … … 2060 2060 ShowNewContent(FWindowMode, Category, Index); 2061 2061 else begin 2062 NewSearchContent := InputDlg.E Input.Text;2062 NewSearchContent := InputDlg.EditInput.Text; 2063 2063 ShowNewContent(FWindowMode, hkMisc, Integer(miscSearchResult)); 2064 2064 end;
Note:
See TracChangeset
for help on using the changeset viewer.