Merge pull request #9329 from MarianoGnu/master

GdScript: Add signal autocompletion to emit_signal function
This commit is contained in:
Thomas Herzog 2017-06-23 13:30:43 +02:00 committed by GitHub
commit 7705b2639f
1 changed files with 1 additions and 1 deletions

View File

@ -1643,7 +1643,7 @@ static void _find_type_arguments(GDCompletionContext &context, const GDParser::N
} else {
//regular method
if (p_method.operator String() == "connect") {
if (p_method.operator String() == "connect" || (p_method.operator String() == "emit_signal" && p_argidx == 0)) {
if (p_argidx == 0) {
List<MethodInfo> sigs;