Fix save search info

This commit is contained in:
J-Jamet
2020-10-13 15:04:12 +02:00
parent d8961d2acb
commit bef3cf4c93

View File

@@ -617,10 +617,11 @@ class GroupActivity : LockingActivity(),
newEntry.setEntryInfo(mDatabase, newEntry.getEntryInfo(mDatabase).apply { newEntry.setEntryInfo(mDatabase, newEntry.getEntryInfo(mDatabase).apply {
saveSearchInfo(mDatabase, searchInfo) saveSearchInfo(mDatabase, searchInfo)
}) })
// In selection mode, it's forced read-only, just checked if AutoSave is enabled
mProgressDatabaseTaskProvider?.startDatabaseUpdateEntry( mProgressDatabaseTaskProvider?.startDatabaseUpdateEntry(
entry, entry,
newEntry, newEntry,
!mReadOnly && mAutoSaveEnable mAutoSaveEnable
) )
} }