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


Commits:
92f92145 by Philipp Hörist at 2023-04-23T17:23:53+02:00
cfix: GroupchatRoster: Determine filtered path correctly

Fixes #11480

- - - - -


1 changed file:

- gajim/gtk/groupchat_roster.py


Changes:

=====================================
gajim/gtk/groupchat_roster.py
=====================================
@@ -184,6 +184,11 @@ def _query_tooltip(self,
             self._tooltip.clear_tooltip()
             return False
 
+        path = self._modelfilter.convert_path_to_child_path(path)
+        if path is None:
+            self._tooltip.clear_tooltip()
+            return False
+
         iter_ = None
         try:
             iter_ = self._store.get_iter(path)
@@ -424,6 +429,10 @@ def _on_roster_button_press_event(self,
         if path is None:
             return
 
+        path = self._modelfilter.convert_path_to_child_path(path)
+        if path is None:
+            return
+
         iter_ = self._store.get_iter(path)
         if self._store.iter_parent(iter_) is None:
             # Group row



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

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


_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to