summaryrefslogtreecommitdiff
path: root/scene/gui/line_edit.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2018-05-02 22:36:24 +0200
committerGitHub <noreply@github.com>2018-05-02 22:36:24 +0200
commit75ff86f8f5cf2364af9f12455fac2fd01bb48849 (patch)
treeb3d54ce65e1504e8dc94ee3d24f7b32a982795d2 /scene/gui/line_edit.cpp
parent741637b966dd644263032c7f937d990cfba52411 (diff)
parentc17de1f70fcba19f2afdfe49d194b9b175791ea8 (diff)
Merge pull request #18566 from robfram/fix-lineedit-18184
Fix placeholders position in `LineEdit` when editing inside the Editor
Diffstat (limited to 'scene/gui/line_edit.cpp')
-rw-r--r--scene/gui/line_edit.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/scene/gui/line_edit.cpp b/scene/gui/line_edit.cpp
index ef0d5e4c6e..e3b8baf0c0 100644
--- a/scene/gui/line_edit.cpp
+++ b/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 = "";