mirror of https://gitlab.com/basile.b/dexed.git
profile viewer, col w/ func name vever sorted
This commit is contained in:
parent
97c5d210e8
commit
d1dcefda18
|
@ -241,15 +241,13 @@ end;
|
|||
|
||||
procedure TCEProfileViewerWidget.listCompare(Sender: TObject; item1, item2: TListItem; Data: Integer; var Compare: Integer);
|
||||
var
|
||||
txt1: string = '';
|
||||
txt2: string = '';
|
||||
i1, i2: qword;
|
||||
col: Integer;
|
||||
begin
|
||||
col := list.SortColumn;
|
||||
if col = 4 then
|
||||
begin
|
||||
Compare := AnsiCompareStr(txt1, txt2);
|
||||
Compare := AnsiCompareStr(item1.SubItems[3], item2.SubItems[3]);
|
||||
end
|
||||
else
|
||||
begin
|
||||
|
|
Loading…
Reference in New Issue