mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: the issue when no tag selected in 'Search for combined finder tags' on macOS
This commit is contained in:
parent
cee9297f07
commit
50c505da51
2 changed files with 5 additions and 0 deletions
|
|
@ -187,6 +187,8 @@ procedure TToolBarMenuHandler.onFinderTagSelectorPanelClose(const cancel: Boolea
|
|||
begin
|
||||
if cancel then
|
||||
Exit;
|
||||
if tagNames.count = 0 then
|
||||
Exit;
|
||||
uDarwinFinderModelUtil.searchFilesForTagNames( tagNames, @self.onSearchFinderTagComplete );
|
||||
end;
|
||||
|
||||
|
|
|
|||
|
|
@ -304,6 +304,9 @@ var
|
|||
query: NSMetadataQuery;
|
||||
predicate: NSPredicate;
|
||||
begin
|
||||
if tagNames.count = 0 then
|
||||
Exit;
|
||||
|
||||
// release in initalGatherComplete()
|
||||
query:= NSMetadataQuery.new;
|
||||
// release in initalGatherComplete()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue