aboutsummaryrefslogtreecommitdiff
path: root/scene/gui/line_edit.cpp
diff options
context:
space:
mode:
authorreduz2014-02-28 14:50:50 -0200
committerreduz2014-02-28 14:50:50 -0200
commitb657d2df901fc88aa232962ff3281ece14a72abe (patch)
treefcc89e1c3847846711dbc4318e7530435efa0fd7 /scene/gui/line_edit.cpp
parent78e9ced5589577d8f2de0605d07fd822fb0fab73 (diff)
parent3985660ca441a339c6dee7076c6186f107e3c06a (diff)
downloadgodot-b657d2df901fc88aa232962ff3281ece14a72abe.tar.gz
godot-b657d2df901fc88aa232962ff3281ece14a72abe.tar.zst
godot-b657d2df901fc88aa232962ff3281ece14a72abe.zip
Diffstat (limited to 'scene/gui/line_edit.cpp')
-rw-r--r--scene/gui/line_edit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/line_edit.cpp b/scene/gui/line_edit.cpp
index bd19adf07..22316acab 100644
--- a/scene/gui/line_edit.cpp
+++ b/scene/gui/line_edit.cpp
@@ -791,7 +791,7 @@ void LineEdit::_bind_methods() {
ObjectTypeDB::bind_method(_MD("is_editable"),&LineEdit::is_editable);
ObjectTypeDB::bind_method(_MD("set_secret","enabled"),&LineEdit::set_secret);
ObjectTypeDB::bind_method(_MD("is_secret"),&LineEdit::is_secret);
- ObjectTypeDB::bind_method(_MD("select","from","to"),&LineEdit::is_secret,DEFVAL(0),DEFVAL(-1));
+ ObjectTypeDB::bind_method(_MD("select","from","to"),&LineEdit::select,DEFVAL(0),DEFVAL(-1));
ADD_SIGNAL( MethodInfo("text_changed", PropertyInfo( Variant::STRING, "text" )) );
ADD_SIGNAL( MethodInfo("text_entered", PropertyInfo( Variant::STRING, "text" )) );