FIX: select file in folder

Change-Id: I383a60f19fe7c54bcb6c1348152ac72a2bab9e34
This commit is contained in:
chunmao.guo 2022-11-11 09:48:23 +08:00 committed by Lane.Wei
parent c431cbf202
commit 011b22dee8
3 changed files with 8 additions and 8 deletions

View file

@ -3336,8 +3336,8 @@ std::string GUI_App::handle_web_request(std::string cmd)
{
boost::filesystem::path NowFile(path.value());
std::string FolderPath = NowFile.parent_path().make_preferred().string();
desktop_open_any_folder(FolderPath);
std::string FilePath = NowFile.make_preferred().string();
desktop_open_any_folder(FilePath);
}
}
}