forked from teamnwah/openmw-tes3coop
Fixed the "Restore defaults" function.
This commit is contained in:
parent
493018322d
commit
1d873c56a8
1 changed files with 3 additions and 3 deletions
|
@ -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…
Reference in a new issue