Skip to content

Commit

Permalink
Clear selection list when leaving selection mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Falk Alexander Seidl committed Jun 10, 2018
1 parent f09a733 commit de4eaa6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions keepassgtk/unlocked_database.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,9 @@ def remove_selection_headerbar(self):
context = self.headerbar.get_style_context()
context.remove_class('selection-mode')

self.entries_selected.clear()
self.groups_selected.clear()

for element in self.pathbar.get_children():
if element.get_name() == "SeperatorLabel":
el_context = element.get_style_context()
Expand Down

0 comments on commit de4eaa6

Please sign in to comment.