mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 09:35:28 +00:00
Fixed the "Restore defaults" function.
This commit is contained in:
parent
493018322d
commit
1d873c56a8
@ -317,9 +317,9 @@ void DataFilesDialog::restoreDefaults()
|
||||
dataFilesModel->checkedItems.clear();
|
||||
|
||||
QModelIndexList indexlist; // Make a list of default master files
|
||||
indexlist.append(dataFilesModel->index("Morrowind.esm", 0));
|
||||
indexlist.append(dataFilesModel->index("Tribunal.esm", 0));
|
||||
indexlist.append(dataFilesModel->index("Bloodmoon.esm", 0));
|
||||
indexlist.append(dataFilesModel->index("data/Morrowind.esm", 0));
|
||||
indexlist.append(dataFilesModel->index("data/Tribunal.esm", 0));
|
||||
indexlist.append(dataFilesModel->index("data/Bloodmoon.esm", 0));
|
||||
|
||||
foreach (const QModelIndex &index, indexlist) {
|
||||
if (index.isValid()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user