diff options
author | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2008-03-10 11:13:59 +0000 |
---|---|---|
committer | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2008-03-10 11:13:59 +0000 |
commit | a207a0feb95bb18fa078643ef241042f9e4d2934 (patch) | |
tree | 8e051e6a4766c971b4e9d0a59757bd368e3efd75 /src | |
parent | bf0176261ba3a2abcd3367019a61e880bf0c2bef (diff) | |
download | fpGUI-a207a0feb95bb18fa078643ef241042f9e4d2934.tar.xz |
* Fixed a minor bug in the TfpgAbstractComboBox.SetText reported by Viktor.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/gui_combobox.pas | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/gui_combobox.pas b/src/gui/gui_combobox.pas index e98e49e1..25fb9981 100644 --- a/src/gui/gui_combobox.pas +++ b/src/gui/gui_combobox.pas @@ -336,7 +336,7 @@ begin if SameText(FItems.Strings[i], AValue) then begin SetFocusItem(i+1); // our FocusItem is 1-based. TStringList is 0-based. - Break; + Exit; end; end; // if we get here, we didn't find a match |