combobox: fix FSelLength condition in InitializeWnd

git-svn-id: trunk@63230 -
This commit is contained in:
ondrej 2020-05-26 22:51:35 +00:00
parent d8adb758e5
commit a46759822f

View File

@ -45,7 +45,7 @@ begin
TWSCustomComboBoxClass(WidgetSetClass).SetMaxLength(Self, FMaxLength);
TWSCustomComboBoxClass(WidgetSetClass).SetDropDownCount(Self, FDropDownCount);
if FSelStart <> FSelLength then
if FSelLength<>0 then
begin
ASelStart:= FSelStart;
ASelLength:= FSelLength;