Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
0dd018f5 by wurstsalat at 2025-03-11T21:19:27+01:00
fix: ChatControl: Handle autoscroll-changed without active chat
Fixes #12226
- - - - -
1 changed file:
- gajim/gtk/control.py
Changes:
=====================================
gajim/gtk/control.py
=====================================
@@ -436,6 +436,11 @@ def _on_autoscroll_changed(
return
self._jump_to_end_button.toggle(False)
+
+ if not self.has_active_chat():
+ # This signal can be toggled without an active chat, see #12226
+ return
+
if app.window.is_chat_active(self.contact.account, self.contact.jid):
app.window.mark_as_read(self.contact.account, self.contact.jid)
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/0dd018f50357a306c9beba5474510ae30ef834be
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/0dd018f50357a306c9beba5474510ae30ef834be
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]