From 4faf2f4d4cb1bc65b1db228808f3aa3201482171 Mon Sep 17 00:00:00 2001 From: graemeg Date: Thu, 13 Nov 2008 06:58:46 +0000 Subject: * NumericEdit fixed from Jean-Marc. Fixed bug where value changed as you set and loose focus with the mouse cursor. --- src/gui/fpg_edit.pas | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gui/fpg_edit.pas b/src/gui/fpg_edit.pas index 0f415e5d..7325544e 100644 --- a/src/gui/fpg_edit.pas +++ b/src/gui/fpg_edit.pas @@ -1500,7 +1500,6 @@ begin if ((i mod 3) = 0) and (fpgCharAt(txt,UTF8Length(txt)-UTF8Length(texte)) <> FThousandSeparator) then begin texte := FThousandSeparator + texte; - UTF8Insert(texte, txt, FCursorPos + 1); if fText[1] = '-' then begin if Pred(FCursorPos) <= UTF8Length(texte) then -- cgit v1.2.3-70-g09d2