mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 14:59:30 +02:00
IDE/Options: Clear filter if needed when selecting a color in the preview editor
This commit is contained in:
parent
eef50021f0
commit
b1021fb32c
@ -1760,6 +1760,8 @@ begin
|
||||
if TColorSchemeAttribute(ColorElementTree.Items[i].Data).StoredName <> XmlName
|
||||
then
|
||||
continue;
|
||||
if not ColorElementTree.Items[i].IsVisible then
|
||||
ColorElementTreeFilter.Clear;
|
||||
ColorElementTree.Items[i].Selected := True;
|
||||
break;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user