Fix range slider in tree not updating text value
This commit is contained in:
parent
cf19484746
commit
ed68f867fb
1 changed files with 3 additions and 0 deletions
|
@ -2850,6 +2850,9 @@ void Tree::value_editor_changed(double p_value) {
|
|||
|
||||
TreeItem::Cell &c = popup_edited_item->cells.write[popup_edited_item_col];
|
||||
c.val = p_value;
|
||||
|
||||
text_editor->set_text(String::num(c.val, Math::range_step_decimals(c.step)));
|
||||
|
||||
item_edited(popup_edited_item_col, popup_edited_item);
|
||||
update();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue