Merge pull request #62781 from MinusKube/tree-slider-bug
Fix range slider in tree not updating text value
This commit is contained in:
commit
207ef8a33d
@ -2815,6 +2815,9 @@ void Tree::value_editor_changed(double p_value) {
|
|||||||
|
|
||||||
TreeItem::Cell &c = popup_edited_item->cells.write[popup_edited_item_col];
|
TreeItem::Cell &c = popup_edited_item->cells.write[popup_edited_item_col];
|
||||||
c.val = p_value;
|
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);
|
item_edited(popup_edited_item_col, popup_edited_item);
|
||||||
update();
|
update();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user