mirror of
https://gitlab.gnome.org/World/Authenticator.git
synced 2025-03-04 08:44:40 +01:00
Correctly fix #3
This commit is contained in:
parent
d376c44445
commit
e0abfa1a16
1 changed files with 4 additions and 2 deletions
|
@ -295,10 +295,12 @@ class Window(Gtk.ApplicationWindow):
|
|||
listbox_row = checkbutton.get_parent().get_parent().get_parent()
|
||||
if is_active:
|
||||
self.listbox.select_row(listbox_row)
|
||||
self.selected_count += 1
|
||||
if is_visible:
|
||||
self.selected_count += 1
|
||||
else:
|
||||
self.listbox.unselect_row(listbox_row)
|
||||
self.selected_count -= 1
|
||||
if is_visible:
|
||||
self.selected_count -= 1
|
||||
self.remove_button.set_sensitive(self.selected_count > 0)
|
||||
|
||||
def filter_func(self, row, data, notify_destroy):
|
||||
|
|
Loading…
Add table
Reference in a new issue