mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-28 10:02:14 +00:00
UPD: Add some const modifiers. Remove const from TFileView.SetFileFilter because it assigns the string parameter to a non-local string. If FFileFilter is passed as the parameter but modified before the assignment it will be dereferenced causing a crash.
UPD: Remove UpdateView call on filter change, it is not needed.
This commit is contained in:
parent
92424b4e91
commit
8d3169bc9b
4 changed files with 13 additions and 16 deletions
|
|
@ -21,8 +21,8 @@ type
|
|||
Items: TQuickSearchItems;
|
||||
end;
|
||||
|
||||
TOnChangeSearch = procedure(Sender: TObject; ASearchText: UTF8String; ASearchOptions: TQuickSearchOptions; Direction: TQuickSearchDirection = qsdNone) of Object;
|
||||
TOnChangeFilter = procedure(Sender: TObject; AFilterText: UTF8String; AFilterOptions: TQuickSearchOptions) of Object;
|
||||
TOnChangeSearch = procedure(Sender: TObject; ASearchText: UTF8String; const ASearchOptions: TQuickSearchOptions; Direction: TQuickSearchDirection = qsdNone) of Object;
|
||||
TOnChangeFilter = procedure(Sender: TObject; AFilterText: UTF8String; const AFilterOptions: TQuickSearchOptions) of Object;
|
||||
TOnExecute = procedure(Sender: TObject) of Object;
|
||||
TOnHide = procedure(Sender: TObject) of Object;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue