Fix TreeItem range slider not working

(cherry picked from commit c759ac0e4f)
This commit is contained in:
BlueCube3310 2023-08-30 19:17:13 +02:00 committed by Yuri Sizov
parent 3bc614bb1c
commit f220aaa54b
1 changed files with 1 additions and 1 deletions

View File

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