mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-27 05:40:24 +02:00
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:
parent
fe93606ec3
commit
6c55ef9be7
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user