Make path canonical before using it in file dialog

This commit is contained in:
Nikita Lisitsa 2023-01-05 16:14:59 +03:00
parent bf3f6f61d1
commit 1241fdff9c

View file

@ -204,7 +204,7 @@ namespace psemek::ui
*set_path_callback = [=, type = options.type, on_visited = options.on_visited](std::filesystem::path new_path)
{
new_path = std::filesystem::absolute(new_path);
new_path = std::filesystem::canonical(std::filesystem::absolute(new_path));
try
{