mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-09-08 03:49:10 +00:00
new UI fixes, part 5 (#2485)
additional new ui changes, part 5 (#2485) Signed-off-by: Jared Van Bortel <jared@nomic.ai>
This commit is contained in:
@@ -1493,7 +1493,7 @@ void Database::start()
|
||||
} else if (!initDb(modelPath, oldCollections)) {
|
||||
m_databaseValid = false;
|
||||
} else {
|
||||
//cleanDB();
|
||||
cleanDB();
|
||||
addCurrentFolders();
|
||||
}
|
||||
|
||||
@@ -2118,7 +2118,8 @@ void Database::changeFileExtensions(const QStringList &extensions)
|
||||
|
||||
m_scannedFileExtensions = extensions;
|
||||
|
||||
cleanDB();
|
||||
if (cleanDB())
|
||||
updateCollectionStatistics();
|
||||
|
||||
QSqlQuery q(m_db);
|
||||
QList<CollectionItem> collections;
|
||||
|
Reference in New Issue
Block a user