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


Commits:
c3a86428 by wurstsalat at 2025-03-20T23:36:17+01:00
fix: Debug console: Fix initial send button state

- - - - -


1 changed file:

- gajim/gtk/debug_console.py


Changes:

=====================================
gajim/gtk/debug_console.py
=====================================
@@ -100,9 +100,11 @@ def __init__(self) -> None:
 
         
self._ui.paned.set_position(self._ui.paned.get_property("max-position"))
 
-        self._account_dropdown = GajimDropDown(
-            fixed_width=15, data=self._get_accounts()
-        )
+        accounts = self._get_accounts()
+        self._account_dropdown = GajimDropDown(fixed_width=15, data=accounts)
+        if accounts:
+            self._selected_send_account = next(iter(accounts))
+
         self._connect(
             self._account_dropdown, "notify::selected", self._on_account_change
         )



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

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