Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
agent: Fix follow button disabled state (#34978)
Danilo Leal8bf7dcb6131e
diff --git a/crates/agent_ui/src/message_editor.rs b/crates/agent_ui/src/message_editor.rsindex ab8ba762f4e..62be5629f1e 100644--- a/crates/agent_ui/src/message_editor.rs+++ b/crates/agent_ui/src/message_editor.rs@@ -625,7 +625,7 @@ impl MessageEditor {.unwrap_or(false);IconButton::new("follow-agent", IconName::Crosshair)- .disabled(is_model_selected)+ .disabled(!is_model_selected).icon_size(IconSize::Small).icon_color(Color::Muted).toggle_state(following)