mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-14 00:43:50 +00:00
FIX: Correct data directory iteration order in CS
This commit is contained in:
parent
064e3c7c2e
commit
82d68ec9cf
@ -36,9 +36,9 @@ CSVDoc::FileDialog::~FileDialog() = default;
|
||||
|
||||
void CSVDoc::FileDialog::addFiles(const std::vector<std::filesystem::path>& dataDirs)
|
||||
{
|
||||
for (auto iter = dataDirs.rbegin(); iter != dataDirs.rend(); ++iter)
|
||||
for (const auto& dir : dataDirs)
|
||||
{
|
||||
QString path = Files::pathToQString(*iter);
|
||||
QString path = Files::pathToQString(dir);
|
||||
mSelector->addFiles(path);
|
||||
}
|
||||
mSelector->sortFiles();
|
||||
|
Loading…
Reference in New Issue
Block a user