Ignore:
Timestamp:
Dec 4, 2023, 7:18:18 PM (5 months ago)
Author:
chronos
Message:
  • Fixed: More high dpi related fixes.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/Help.pas

    r471 r474  
    20442044begin
    20452045  InputDlg.Caption := Phrases.Lookup('SEARCH');
    2046   InputDlg.EInput.Text := SearchContent;
     2046  InputDlg.EditInput.Text := SearchContent;
    20472047  InputDlg.CenterToRect(BoundsRect);
    20482048  InputDlg.ShowModal;
    2049   if (InputDlg.ModalResult = mrOK) and (Length(InputDlg.EInput.Text) >= 2) then
    2050   begin
    2051     Search(InputDlg.EInput.Text);
     2049  if (InputDlg.ModalResult = mrOK) and (Length(InputDlg.EditInput.Text) >= 2) then
     2050  begin
     2051    Search(InputDlg.EditInput.Text);
    20522052    case SearchResult.Count of
    20532053      0: begin
    20542054        Gtk2Fix;
    20552055        SimpleMessage(Format(HelpText.Lookup('NOMATCHES'),
    2056           [InputDlg.EInput.Text]));
     2056          [InputDlg.EditInput.Text]));
    20572057      end;
    20582058      1:
     
    20602060          ShowNewContent(FWindowMode, Category, Index);
    20612061      else begin
    2062         NewSearchContent := InputDlg.EInput.Text;
     2062        NewSearchContent := InputDlg.EditInput.Text;
    20632063        ShowNewContent(FWindowMode, hkMisc, Integer(miscSearchResult));
    20642064      end;
Note: See TracChangeset for help on using the changeset viewer.