agent: Fix follow button disabled state (#34978)

Release Notes:

- N/A
This commit is contained in:
Danilo Leal
2025-07-23 17:09:05 -04:00
committed by GitHub
parent edceb7284f
commit 8bf7dcb613
+1 -1
View File
@@ -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)