Browse Source

frontend: Auto-select manually added file imports

Warchamp7 9 months ago
parent
commit
a0248a319f
1 changed files with 2 additions and 0 deletions
  1. 2 0
      frontend/importer/ImporterModel.cpp

+ 2 - 0
frontend/importer/ImporterModel.cpp

@@ -138,6 +138,8 @@ bool ImporterModel::setData(const QModelIndex &index, const QVariant &value, int
 				for (QString path : list) {
 					ImporterEntry entry;
 					entry.path = path;
+					entry.selected = true;
+					entry.empty = true;
 
 					options.insert(row, entry);