Object Inspector: Set next value also when double-clicking a ComboBox with Class values. Issue #29503.

git-svn-id: trunk@51410 -
This commit is contained in:
juha 2016-01-25 16:08:57 +00:00
parent fe93606ec3
commit 6c55ef9be7

View File

@ -3357,10 +3357,10 @@ begin
if (FCurrentEdit = ValueComboBox) then
begin
//either an Event or an enumeration or Boolean
//either an Enumeration, Set, Class or Boolean
CurRow := Rows[FItemIndex];
TypeKind := CurRow.Editor.GetPropType^.Kind;
if TypeKind in [tkEnumeration, tkBool, tkSet] then
if TypeKind in [tkEnumeration, tkSet, tkClass, tkBool] then
begin
// set value to next value in list
if ValueComboBox.Items.Count = 0 then Exit;