mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2026-11-20 17:11:32 -08:00
Fix finish node action when exit activity
This commit is contained in:
1 parent
fb2ea4c0ed
commit
89dd7bfefb
1 file changed
+6
-2
@@ -466,13 +466,11 @@ class GroupActivity : LockingActivity(),
|
||||
}
|
||||
|
||||
override fun onOpenMenuClick(node: NodeVersioned): Boolean {
|
||||
finishNodeAction()
|
||||
onNodeClick(node)
|
||||
return true
|
||||
}
|
||||
|
||||
override fun onEditMenuClick(node: NodeVersioned): Boolean {
|
||||
finishNodeAction()
|
||||
when (node.type) {
|
||||
Type.GROUP -> {
|
||||
mOldGroupToUpdate = node as GroupVersioned
|
||||
@@ -553,6 +551,12 @@ class GroupActivity : LockingActivity(),
|
||||
mSearchSuggestionAdapter?.reInit(this)
|
||||
}
|
||||
|
||||
override fun onPause() {
|
||||
super.onPause()
|
||||
|
||||
finishNodeAction()
|
||||
}
|
||||
|
||||
override fun onCreateOptionsMenu(menu: Menu): Boolean {
|
||||
|
||||
val inflater = menuInflater
|
||||
|
||||
Reference in new issue
Block a user