Merge pull request #81174 from BlueCube3310/tree-range-fix
Fix TreeItem range slider not working properly
This commit is contained in:
commit
0c7ac25b47
1 changed files with 1 additions and 1 deletions
|
@ -3142,7 +3142,7 @@ 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)));
|
line_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);
|
||||||
queue_redraw();
|
queue_redraw();
|
||||||
|
|
Loading…
Reference in a new issue