Changeset 74 for trunk/Packages/Common


Ignore:
Timestamp:
Aug 2, 2016, 12:27:13 PM (8 years ago)
Author:
chronos
Message:
  • Fixed: Wrong column indexes in list of import sources.
  • Fixed: Do not sort items in TListSort component if soNone order is set.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Packages/Common/UListViewSort.pas

    r17 r74  
    209209  if ListView.Items.Count <> List.Count then
    210210    ListView.Items.Count := List.Count;
    211   if Assigned(FOnCompareItem) then Sort(FOnCompareItem);
     211  if Assigned(FOnCompareItem) and (Order <> soNone) then Sort(FOnCompareItem);
    212212  //ListView.Items[-1]; // Workaround for not show first row if selected
    213213  ListView.Refresh;
Note: See TracChangeset for help on using the changeset viewer.