diff options
author | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2008-07-17 08:48:04 +0000 |
---|---|---|
committer | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2008-07-17 08:48:04 +0000 |
commit | 9be9eaa5dd300201a6139ebb02c2d48b835739af (patch) | |
tree | 8f18bebd0971edc05311224ee6a3d05aa8befd63 /src/gui/gui_editcombo.pas | |
parent | 320ce4e735e508c2f924f4c6dd85638aeda64fb0 (diff) | |
download | fpGUI-9be9eaa5dd300201a6139ebb02c2d48b835739af.tar.xz |
* Small patch for EditCombo from Jean-Marc.
Diffstat (limited to 'src/gui/gui_editcombo.pas')
-rw-r--r-- | src/gui/gui_editcombo.pas | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/gui_editcombo.pas b/src/gui/gui_editcombo.pas index 36c87633..5c7c4d19 100644 --- a/src/gui/gui_editcombo.pas +++ b/src/gui/gui_editcombo.pas @@ -422,6 +422,8 @@ begin prevval := FText; s := AText; consumed := False; + if FText = '' then + FNewItem := False; // Handle only printable characters // Note: This is now UTF-8 compliant! |