mirror of
https://github.com/godotengine/godot.git
synced 2025-02-11 05:10:54 +00:00
Fix wrong condition used in set_custom_color
This commit is contained in:
parent
ea9bb98f26
commit
f359abbe01
@ -1163,7 +1163,7 @@ bool TreeItem::is_editable(int p_column) {
|
||||
void TreeItem::set_custom_color(int p_column, const Color &p_color) {
|
||||
ERR_FAIL_INDEX(p_column, cells.size());
|
||||
|
||||
if (cells[p_column].custom_color == true) {
|
||||
if (cells[p_column].custom_color && cells[p_column].color == p_color) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user