mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-04 15:49:33 +01:00
Fix entry not visually deleted in search #559
This commit is contained in:
@@ -223,6 +223,8 @@ class GroupActivity : LockingActivity(),
|
||||
newNodes = getListNodesFromBundle(database, newNodesBundle)
|
||||
}
|
||||
|
||||
refreshSearchGroup()
|
||||
|
||||
when (actionTask) {
|
||||
ACTION_DATABASE_UPDATE_GROUP_TASK -> {
|
||||
if (result.isSuccess) {
|
||||
@@ -346,6 +348,11 @@ class GroupActivity : LockingActivity(),
|
||||
super.onSaveInstanceState(outState)
|
||||
}
|
||||
|
||||
private fun refreshSearchGroup() {
|
||||
if (mCurrentGroupIsASearch)
|
||||
openSearchGroup(retrieveCurrentGroup(intent, null))
|
||||
}
|
||||
|
||||
private fun retrieveCurrentGroup(intent: Intent, savedInstanceState: Bundle?): Group? {
|
||||
|
||||
// Force read only if the database is like that
|
||||
@@ -616,6 +623,7 @@ class GroupActivity : LockingActivity(),
|
||||
if (database != null
|
||||
&& database.isRecycleBinEnabled
|
||||
&& database.recycleBin != mCurrentGroup) {
|
||||
|
||||
mProgressDialogThread?.startDatabaseDeleteNodes(
|
||||
nodes,
|
||||
!mReadOnly && mAutoSaveEnable
|
||||
|
||||
Reference in New Issue
Block a user