diff --git a/scene/gui/line_edit.cpp b/scene/gui/line_edit.cpp index ebc705c0403..7fd15a38cd8 100644 --- a/scene/gui/line_edit.cpp +++ b/scene/gui/line_edit.cpp @@ -1135,7 +1135,6 @@ void LineEdit::clear_internal() { _clear_undo_stack(); cached_width = 0; - cached_placeholder_width = 0; cursor_pos = 0; window_pos = 0; undo_text = "";