Commit 1e486797 authored by Maximiliano's avatar Maximiliano 🥑 Committed by Maximiliano
Browse files

unlocked_database: Stop search on group edit page

Otherwise one enters a weird state in which search is active while on an
edit page.
parent 66382793
......@@ -157,6 +157,9 @@ class UnlockedDatabase(GObject.GObject):
self.start_database_lock_timer()
self.props.current_element = element
if self.props.search_active:
self.props.search_active = False
# Sets the accessed time.
self.database_manager.set_element_atime(element.element)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment