agent: Fix follow button disabled state (#34978)

Danilo Leal created

Release Notes:

- N/A

Change summary

crates/agent_ui/src/message_editor.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

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)