Daniel Brötzmann pushed to branch master at gajim / gajim


Commits:
cfba843d by wurstsalat at 2025-04-27T16:55:20+02:00
cfix: Account sidebar: Fix displaying avatar if more than one account is enabled

- - - - -


1 changed file:

- gajim/gtk/account_side_bar.py


Changes:

=====================================
gajim/gtk/account_side_bar.py
=====================================
@@ -282,7 +282,7 @@ def _update_tooltip(self) -> None:
 
     def _update_image(self) -> None:
         accounts = app.settings.get_active_accounts()
-        account = accounts[0] if len(accounts) else None
+        account = accounts[0] if len(accounts) == 1 else None
 
         texture = app.app.avatar_storage.get_account_button_texture(
             account, AvatarSize.ACCOUNT_SIDE_BAR, self.get_scale_factor()



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/cfba843d0395b33b5597e5c0747857972a42fbc2

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/cfba843d0395b33b5597e5c0747857972a42fbc2
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to