summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorgraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2008-03-10 11:13:59 +0000
committergraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2008-03-10 11:13:59 +0000
commita207a0feb95bb18fa078643ef241042f9e4d2934 (patch)
tree8e051e6a4766c971b4e9d0a59757bd368e3efd75 /src
parentbf0176261ba3a2abcd3367019a61e880bf0c2bef (diff)
downloadfpGUI-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.pas2
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