Recorder should now save dialog path

This commit is contained in:
Ryzerth 2021-04-29 21:41:47 +02:00
parent f483de1f7e
commit bed0712be1

View File

@ -61,7 +61,7 @@ bool FolderSelect::pathIsValid() {
}
void FolderSelect::worker() {
auto fold = pfd::select_folder("Select Folder");
auto fold = pfd::select_folder("Select Folder", pathValid ? std::filesystem::path(expandString(path)).parent_path().string() : "");
std::string res = fold.result();
if (res != "") {