Make path canonical before using it in file dialog
This commit is contained in:
parent
bf3f6f61d1
commit
1241fdff9c
1 changed files with 1 additions and 1 deletions
|
|
@ -204,7 +204,7 @@ namespace psemek::ui
|
||||||
|
|
||||||
*set_path_callback = [=, type = options.type, on_visited = options.on_visited](std::filesystem::path new_path)
|
*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
|
try
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue