agent: Fix follow button disabled state (#34978)

Release Notes:

- N/A
This commit is contained in:
Danilo Leal 2025-07-23 18:09:05 -03:00 committed by Joseph T. Lyons
parent 45d211a555
commit d61db1fae7

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)