From ff2b30b7c0daefd7c1c00fea194e3162e6bb68a6 Mon Sep 17 00:00:00 2001 From: Bart <9132501-flyingsheep@users.noreply.gitlab.com> Date: Mon, 1 Nov 2021 23:12:17 +0100 Subject: [PATCH] LazUtils: Masks: also force a new Compile when EscapeChar is changed. --- components/lazutils/masks.pas | 1 + 1 file changed, 1 insertion(+) diff --git a/components/lazutils/masks.pas b/components/lazutils/masks.pas index 8cfb1f65fa..61d5c5e6b0 100644 --- a/components/lazutils/masks.pas +++ b/components/lazutils/masks.pas @@ -589,6 +589,7 @@ begin if fMaskEscapeChar>#127 then Exception_InvalidEscapeChar(); fMaskEscapeChar:=AValue; + fMaskIsCompiled:=False; end; procedure TMaskBase.SetMaskOpCodesAllowed(AValue: TMaskOpCodes);