diff --git a/CHANGELOG b/CHANGELOG index 151449c2e..28235fb55 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -4,6 +4,7 @@ KeePassDX(3.0.1) * Fix Magikeyboard URL auto action #1100 * Fix exception after group name change and save #1112 * Fix timeout reset #1107 + * Fix search actions #1091 #1092 KeePassDX(3.0.0) * Add / Manage dynamic templates #191 diff --git a/app/src/main/java/com/kunzisoft/keepass/activities/GroupActivity.kt b/app/src/main/java/com/kunzisoft/keepass/activities/GroupActivity.kt index ad25c95b7..8c9bc7ee8 100644 --- a/app/src/main/java/com/kunzisoft/keepass/activities/GroupActivity.kt +++ b/app/src/main/java/com/kunzisoft/keepass/activities/GroupActivity.kt @@ -653,6 +653,8 @@ class GroupActivity : DatabaseLockActivity(), Log.e(TAG, "Node can't be cast in Entry") } } + + reloadGroupIfSearch() } private fun entrySelectedForSave(database: Database, entry: Entry, searchInfo: SearchInfo) { @@ -738,6 +740,12 @@ class GroupActivity : DatabaseLockActivity(), actionNodeMode?.finish() } + private fun reloadGroupIfSearch() { + if (Intent.ACTION_SEARCH == intent.action) { + reloadCurrentGroup() + } + } + override fun onNodeSelected( database: Database, nodes: List @@ -793,6 +801,7 @@ class GroupActivity : DatabaseLockActivity(), (node as Entry).nodeId ) } + reloadGroupIfSearch() return true } @@ -847,6 +856,7 @@ class GroupActivity : DatabaseLockActivity(), ): Boolean { deleteNodes(nodes) finishNodeAction() + reloadGroupIfSearch() return true } @@ -1093,7 +1103,7 @@ class GroupActivity : DatabaseLockActivity(), try { mGroupViewModel.loadGroup(mDatabase, mCurrentGroupState) } catch (e: Exception) { - Log.e(TAG, "Unable to rebuild the list after deletion", e) + Log.e(TAG, "Unable to rebuild the group", e) } } diff --git a/fastlane/metadata/android/en-US/changelogs/88.txt b/fastlane/metadata/android/en-US/changelogs/88.txt index edf7cf369..e1ce1e999 100644 --- a/fastlane/metadata/android/en-US/changelogs/88.txt +++ b/fastlane/metadata/android/en-US/changelogs/88.txt @@ -2,4 +2,5 @@ * Fix number of lines during an edition #1073 * Fix Magikeyboard URL auto action #1100 * Fix exception after group name change and save #1112 - * Fix timeout reset #1107 \ No newline at end of file + * Fix timeout reset #1107 + * Fix search actions #1091 #1092 \ No newline at end of file diff --git a/fastlane/metadata/android/fr-FR/changelogs/88.txt b/fastlane/metadata/android/fr-FR/changelogs/88.txt index 30762921d..d5431405c 100644 --- a/fastlane/metadata/android/fr-FR/changelogs/88.txt +++ b/fastlane/metadata/android/fr-FR/changelogs/88.txt @@ -2,4 +2,5 @@ * Correction du nombre de lignes d'édition #1073 * Correction de l'action auto de l'URL Magiclavier #1100 * Correction de l'exception après un changement de nom de groupe et sauvegarde #1112 - * Correction de la réinitialisation du délai d'expiration #1107 \ No newline at end of file + * Correction de la réinitialisation du délai d'expiration #1107 + * Correction des actions de recherche #1091 #1092 \ No newline at end of file