Merge pull request #151 from marynate/PR-fix-line-edit-bind-select
Fix LineEdit select method binding
This commit is contained in:
commit
b657d2df90
1 changed files with 1 additions and 1 deletions
|
@ -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" )) );
|
||||
|
|
Loading…
Reference in a new issue