Add ability to open/copy selected files from Search-results (2)
Restoring the ability of copying untitled document name. ref: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/15741#issuecomment-2481665911
This commit is contained in:
parent
467182602a
commit
af2b90f0a5
|
@ -722,10 +722,7 @@ vector<wstring> Finder::getResultFilePaths(bool onlyInSelectedText) const
|
|||
if (found)
|
||||
{
|
||||
wstring& path = (*_pMainFoundInfos)[line]._fullPath; // Get the path from the container
|
||||
if (path.find('\\') != std::wstring::npos && std::find(paths.begin(), paths.end(), path) == paths.end()) // Contains a path separator and does not exist in the container
|
||||
{
|
||||
paths.push_back(path);
|
||||
}
|
||||
paths.push_back(path);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue