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


Commits:
c10f473f by lovetox at 2021-03-19T14:10:29+01:00
Get correct path

- - - - -


1 changed file:

- gajim/gtk/roster.py


Changes:

=====================================
gajim/gtk/roster.py
=====================================
@@ -268,6 +268,7 @@ def _on_remove_contact(self, _action, param):
         app.window.remove_contact(self._account, param.get_string())
 
     def _on_roster_row_activated(self, _treeview, path, _column):
+        path = self._modelfilter.convert_path_to_child_path(path)
         iter_ = self._store.get_iter(path)
         if self._store.iter_parent(iter_) is None:
             # This is a group row
@@ -286,6 +287,7 @@ def _on_roster_button_press_event(self, treeview, event):
             return
 
         path, _, _, _ = pos
+        path = self._modelfilter.convert_path_to_child_path(path)
         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/c10f473ff146c5027476795376a51a7fd4a33f58

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