Philipp Hörist pushed to branch master at gajim / gajim


Commits:
61ed5891 by Philipp Hörist at 2024-06-20T21:35:07+02:00
cfix: SecurityLabelSelector: Don’t fail on empty label

- - - - -


1 changed file:

- gajim/gtk/security_label_selector.py


Changes:

=====================================
gajim/gtk/security_label_selector.py
=====================================
@@ -137,6 +137,8 @@ def set_seclabel(self, label_hash: str) -> None:
             return None
 
         for selector, label in catalog.labels.items():
+            if label is None:
+                continue
             if label.get_label_hash() == label_hash:
                 self.set_active_id(selector)
 



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

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/61ed589165c23ea42e6e3f32a5fd90a71b60d27c
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