mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-10-01 01:26:06 -04:00
Hide .dot tmp / system files from list in frequency manager module
This commit is contained in:
parent
3425ca8d54
commit
ccb3937e37
@ -30,6 +30,11 @@ std::vector<std::string> get_freqman_files() {
|
||||
|
||||
for (auto file : files) {
|
||||
file_list.emplace_back(file.stem().string());
|
||||
std::string file_name = file.stem().string();
|
||||
// don't propose tmp / hidden files in freqman's list
|
||||
if (file_name.length() && file_name[0] != '.') {
|
||||
file_list.emplace_back(file_name);
|
||||
}
|
||||
}
|
||||
|
||||
return file_list;
|
||||
|
Loading…
Reference in New Issue
Block a user