mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2024-11-10 12:47:40 +01:00
Added missing line smh
This commit is contained in:
parent
ce8b4ceb44
commit
d3276a1546
@ -63,7 +63,7 @@ bool FileSelect::pathIsValid() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void FileSelect::worker() {
|
void FileSelect::worker() {
|
||||||
auto file = pfd::open_file("Open File", "", _filter);
|
auto file = pfd::open_file("Open File", pathValid ? std::filesystem::path(expandString(path)).parent_path().string() : "", _filter);
|
||||||
std::vector<std::string> res = file.result();
|
std::vector<std::string> res = file.result();
|
||||||
|
|
||||||
if (res.size() > 0) {
|
if (res.size() > 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user