Преглед на файлове

Merge pull request #18566 from robfram/fix-lineedit-18184

Fix placeholders position in `LineEdit` when editing inside the Editor
Rémi Verschelde преди 7 години
родител
ревизия
75ff86f8f5
променени са 1 файла, в които са добавени 0 реда и са изтрити 1 реда
  1. 0 1
      scene/gui/line_edit.cpp

+ 0 - 1
scene/gui/line_edit.cpp

@@ -1143,7 +1143,6 @@ void LineEdit::clear_internal() {
 
 	_clear_undo_stack();
 	cached_width = 0;
-	cached_placeholder_width = 0;
 	cursor_pos = 0;
 	window_pos = 0;
 	undo_text = "";