diff libervia/tui/contact_list.py @ 4170:b47f21f2b8fa

quick_frontend, tui: fix name conflict with `show_resources`
author Goffi <goffi@goffi.org>
date Fri, 01 Dec 2023 18:23:04 +0100
parents b620a8e882e1
children 0d7bb4df2343
line wrap: on
line diff
--- a/libervia/tui/contact_list.py	Fri Dec 01 18:22:26 2023 +0100
+++ b/libervia/tui/contact_list.py	Fri Dec 01 18:23:04 2023 +0100
@@ -92,7 +92,7 @@
                 profile_key=self.profile,
             )
         elif key == a_key["RESOURCES_HIDE"]:  # user wants to (un)hide contacts resources
-            self.contact_list.show_resources(not self.contact_list.show_resources)
+            self.contact_list.show_resources = not self.contact_list.show_resources
             self.update()
         return super(ContactList, self).keypress(size, key)