diff --git a/Content.Client/Administration/UI/Tabs/ObjectsTab/ObjectsTab.xaml.cs b/Content.Client/Administration/UI/Tabs/ObjectsTab/ObjectsTab.xaml.cs index 90559707f9..c8606ca80d 100644 --- a/Content.Client/Administration/UI/Tabs/ObjectsTab/ObjectsTab.xaml.cs +++ b/Content.Client/Administration/UI/Tabs/ObjectsTab/ObjectsTab.xaml.cs @@ -132,9 +132,7 @@ public sealed partial class ObjectsTab : Control var entry = new ObjectsTabEntry(info.Name, info.Entity, new StyleBoxFlat { BackgroundColor = backgroundColor }); button.ToolTip = $"{info.Name}, {info.Entity}"; - // Add key binding event handler - entry.OnKeyBindDown += args => OnEntryKeyBindDown?.Invoke(args, data); - + button.OnKeyBindDown += args => OnEntryKeyBindDown?.Invoke(args, data); button.AddChild(entry); }