From 3f34154a1efc81391b63e4fbde6a113017b214f8 Mon Sep 17 00:00:00 2001 From: Andrew Odintsov Date: Tue, 5 May 2020 21:12:51 +0100 Subject: [PATCH] Add OnTextEdited call to RemoveSelectedText This would allow expty text box to be processed and disable filtering --- OpenRA.Mods.Common/Widgets/TextFieldWidget.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/OpenRA.Mods.Common/Widgets/TextFieldWidget.cs b/OpenRA.Mods.Common/Widgets/TextFieldWidget.cs index 283a415a40..f27e8509dd 100644 --- a/OpenRA.Mods.Common/Widgets/TextFieldWidget.cs +++ b/OpenRA.Mods.Common/Widgets/TextFieldWidget.cs @@ -531,6 +531,7 @@ namespace OpenRA.Mods.Common.Widgets ClearSelection(); CursorPosition = lowestIndex; + OnTextEdited(); } }