Fix TreeItem range slider not working

This commit is contained in:
BlueCube3310 2023-08-30 19:17:13 +02:00
parent bc88dca176
commit c759ac0e4f
1 changed files with 1 additions and 1 deletions

View File

@ -3210,7 +3210,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();