Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hörist <philipp@hoerist.com>2023-04-23 18:23:53 +0300
committerPhilipp Hörist <philipp@hoerist.com>2023-04-23 18:23:53 +0300
commit92f921457d32c06f2cc8eb20deb3db7aab33b5ea (patch)
treeec97f045dcc6011990bc6917ebe2c627bbdb9f01
parentb475635f488861c57597ab36c6af4d44484dd62b (diff)
cfix: GroupchatRoster: Determine filtered path correctly
Fixes #11480
-rw-r--r--gajim/gtk/groupchat_roster.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/gajim/gtk/groupchat_roster.py b/gajim/gtk/groupchat_roster.py
index 206d897e5..963cca8f0 100644
--- a/gajim/gtk/groupchat_roster.py
+++ b/gajim/gtk/groupchat_roster.py
@@ -184,6 +184,11 @@ class GroupchatRoster(Gtk.Revealer, EventHelper):
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 @@ class GroupchatRoster(Gtk.Revealer, EventHelper):
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