Output path fixes.

This commit is contained in:
J-D-K
2025-08-22 17:22:56 -04:00
parent 68fcf79cf5
commit 01a7b8467d
3 changed files with 5 additions and 6 deletions

View File

@@ -175,7 +175,7 @@ void TitleOptionState::change_output_directory()
const fslib::Path newPath = workDir / pathBuffer.data();
const bool oldExists = fslib::directory_exists(oldPath);
const bool renameFailed = oldExists && error::fslib(fslib::rename_directory(oldPath, newPath));
if (!autoUpload && (!oldExists || renameFailed)) { ui::PopMessageManager::push_message(popTicks, popFailed); }
if (oldExists && renameFailed) { ui::PopMessageManager::push_message(popTicks, popFailed); }
// Need to change WebDav to match.
remote::Storage *remote = remote::get_remote_storage();