mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
Only add search parameters for viewer
Implemented in a dirty way: if the command contains "view" then add the search parameters.
This commit is contained in:
parent
d1c7ba1a4f
commit
5166b7b27b
1 changed files with 1 additions and 1 deletions
|
|
@ -1005,7 +1005,7 @@ var
|
|||
addedCmdExternal : String = '';
|
||||
begin
|
||||
Result := False;
|
||||
if True then
|
||||
if Pos('view', LowerCase(sCmd)) > 0 then
|
||||
begin
|
||||
FText:= Copy(FText, 1, Length(FText) - 2) + '"' + glsSearchHistory[0] + '"';
|
||||
Options:= TTextSearchOptions(UInt32(UIntPtr(glsSearchHistory.Objects[0])));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue