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


Commits:
1f4df92e by wurstsalat at 2024-04-07T19:55:48+02:00
fix: ComponentSearch: Convert all items to str when copying result row

Fixes #11797

- - - - -


1 changed file:

- gajim/gtk/component_search.py


Changes:

=====================================
gajim/gtk/component_search.py
=====================================
@@ -7,7 +7,6 @@
 from __future__ import annotations
 
 from typing import Any
-from typing import cast
 from typing import Literal
 from typing import overload
 
@@ -309,7 +308,7 @@ def _on_button_press(self,
         assert store is not None
         assert path is not None
         iter_ = store.get_iter(path)
-        column_values = cast(str, store[iter_])
+        column_values = [str(item) for item in store[iter_]]
         text = ' '.join(column_values)
 
         jid = None



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

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