From f220aaa54be692778b7cf87b4bd212dbfabccc77 Mon Sep 17 00:00:00 2001 From: BlueCube3310 <53150244+BlueCube3310@users.noreply.github.com> Date: Wed, 30 Aug 2023 19:17:13 +0200 Subject: [PATCH] Fix TreeItem range slider not working (cherry picked from commit c759ac0e4ff4803810157171be094b50c6c377ea) --- scene/gui/tree.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene/gui/tree.cpp b/scene/gui/tree.cpp index 51462a7c02f..6ec8724a775 100644 --- a/scene/gui/tree.cpp +++ b/scene/gui/tree.cpp @@ -3199,7 +3199,7 @@ 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))); + line_editor->set_text(String::num(c.val, Math::range_step_decimals(c.step))); item_edited(popup_edited_item_col, popup_edited_item); queue_redraw();