diff --git a/.editorconfig b/.editorconfig index 4d110ef2b5..3ac91b1148 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1025,6 +1025,9 @@ dotnet_diagnostic.RCS1113.severity = warning # Bitwise operation on enum without Flags attribute. dotnet_diagnostic.RCS1130.severity = warning +# Remove redundant overriding member. +dotnet_diagnostic.RCS1132.severity = warning + # Remove redundant Dispose/Close call. dotnet_diagnostic.RCS1133.severity = warning diff --git a/OpenRA.Mods.Common/Widgets/HotkeyEntryWidget.cs b/OpenRA.Mods.Common/Widgets/HotkeyEntryWidget.cs index 440b4c6f22..b6aa9a0ed3 100644 --- a/OpenRA.Mods.Common/Widgets/HotkeyEntryWidget.cs +++ b/OpenRA.Mods.Common/Widgets/HotkeyEntryWidget.cs @@ -44,11 +44,6 @@ namespace OpenRA.Mods.Common.Widgets VisualHeight = widget.VisualHeight; } - public override bool TakeKeyboardFocus() - { - return base.TakeKeyboardFocus(); - } - public override bool YieldKeyboardFocus() { OnLoseFocus();