Skip to content

Commit

Permalink
#5826: Consider inherited _color values when loading the colour value…
Browse files Browse the repository at this point in the history
… into the control
  • Loading branch information
codereader committed Feb 27, 2022
1 parent d4d2843 commit 1e1dccd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions radiant/ui/einspector/ColourPropertyEditor.cpp
Expand Up @@ -40,8 +40,8 @@ ColourPropertyEditor::ColourPropertyEditor(wxWindow* parent, IEntitySelection& e

void ColourPropertyEditor::updateFromEntity()
{
// Set colour button's colour
setColourButton(_entities.getSharedKeyValue(_key, false));
// Set colour button's colour, also take inherited values into account
setColourButton(_entities.getSharedKeyValue(_key, true));
}

// Set displayed colour from the keyvalue
Expand Down

0 comments on commit 1e1dccd

Please sign in to comment.