fix: don't double add mods in mod downloader/updater
Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
parent
2d10c246a8
commit
1709b47bb7
2 changed files with 2 additions and 2 deletions
|
@ -40,7 +40,7 @@ auto ReviewMessageBox::deselectedMods() -> QStringList
|
|||
|
||||
auto* item = ui->modTreeWidget->topLevelItem(0);
|
||||
|
||||
for (int i = 0; item != nullptr; ++i) {
|
||||
for (int i = 1; item != nullptr; ++i) {
|
||||
if (item->checkState(0) == Qt::CheckState::Unchecked) {
|
||||
list.append(item->text(0));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue