mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-01-25 01:04:44 +01:00
Recorder should now save dialog path
This commit is contained in:
parent
f483de1f7e
commit
bed0712be1
@ -61,7 +61,7 @@ bool FolderSelect::pathIsValid() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void FolderSelect::worker() {
|
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();
|
std::string res = fold.result();
|
||||||
|
|
||||||
if (res != "") {
|
if (res != "") {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user