diff --git a/crates/debugger_ui/src/debugger_panel.rs b/crates/debugger_ui/src/debugger_panel.rs index 35ce80d3f6..0b91b9f285 100644 --- a/crates/debugger_ui/src/debugger_panel.rs +++ b/crates/debugger_ui/src/debugger_panel.rs @@ -1579,8 +1579,10 @@ impl Panel for DebugPanel { Some(proto::PanelId::DebugPanel) } - fn icon(&self, _window: &Window, _cx: &App) -> Option { - Some(IconName::Debug) + fn icon(&self, _window: &Window, cx: &App) -> Option { + DebuggerSettings::get_global(cx) + .button + .then_some(IconName::Debug) } fn icon_tooltip(&self, _window: &Window, cx: &App) -> Option<&'static str> {