mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-19 14:29:29 +02:00
Removed attempted sorting of search results since the gtk2 listview mixed up the items
git-svn-id: trunk@17406 -
This commit is contained in:
parent
90c4a39863
commit
28e1d0e3e3
@ -464,6 +464,7 @@ begin
|
||||
ListItem.SubItems.Add(IntToStr(FoundTopics[j].TitleHits));
|
||||
ListITem.SubItems.Add(DocURL);
|
||||
except
|
||||
//WriteLn('Exception');
|
||||
// :)
|
||||
end;
|
||||
end;
|
||||
@ -478,12 +479,12 @@ begin
|
||||
ListItem := fSearchResults.Items.Add;
|
||||
ListItem.Caption := 'No Results';
|
||||
end;
|
||||
fSearchResults.SortColumn := 1;
|
||||
{ fSearchResults.SortColumn := 1; // causes the listview data to be mixed up!
|
||||
fSearchResults.SortType := stNone;
|
||||
fSearchResults.SortType := stText;
|
||||
fSearchResults.SortColumn := 2;
|
||||
fSearchResults.SortType := stNone;
|
||||
fSearchResults.SortType := stText;
|
||||
fSearchResults.SortType := stText;}
|
||||
fSearchResults.EndUpdate;
|
||||
//WriteLn('THE DUDE');
|
||||
end;
|
||||
@ -687,7 +688,7 @@ begin
|
||||
Align := alBottom;
|
||||
ShowColumnHeaders := False;
|
||||
ViewStyle := vsReport;
|
||||
Columns.Add; // title
|
||||
Columns.Add.AutoSize := True; // title
|
||||
Columns.Add.Visible := False; // topic hits
|
||||
Columns.Add.Visible := False; // title hits
|
||||
Columns.Add.Visible := False; // url
|
||||
|
Loading…
Reference in New Issue
Block a user