diff options
author | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2008-11-13 06:58:46 +0000 |
---|---|---|
committer | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2008-11-13 06:58:46 +0000 |
commit | 4faf2f4d4cb1bc65b1db228808f3aa3201482171 (patch) | |
tree | ab7c430b1d67a9db38a4016d91d49d46ee1203f7 | |
parent | 5de85e6167b6e1fc3130867c9a84b35478ee266a (diff) | |
download | fpGUI-4faf2f4d4cb1bc65b1db228808f3aa3201482171.tar.xz |
* NumericEdit fixed from Jean-Marc. Fixed bug where value changed as you set and loose focus with the mouse cursor.
-rw-r--r-- | src/gui/fpg_edit.pas | 1 |
1 files changed, 0 insertions, 1 deletions
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 |