diff options
author | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2008-08-13 14:05:07 +0000 |
---|---|---|
committer | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2008-08-13 14:05:07 +0000 |
commit | dca7b248aa2ce984f6c0d25cf4c2ac30e206da89 (patch) | |
tree | a989efa0e4d3de9e0fdcd2627e7dce53646cfca7 /src/gui/gui_editcombo.pas | |
parent | f313894e53b7523c7cb900757c92f674e2bdbfab (diff) | |
download | fpGUI-dca7b248aa2ce984f6c0d25cf4c2ac30e206da89.tar.xz |
* minor 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 a02211ce..03f98991 100644 --- a/src/gui/gui_editcombo.pas +++ b/src/gui/gui_editcombo.pas @@ -494,6 +494,8 @@ begin if SameText(UTF8Copy(FItems.Strings[i], 1, UTF8Length(FText)), FText) then begin FSelectedItem:= i; + if FNewItem then + FNewItem:= False; DoDropDown; Break; end; |