aboutsummaryrefslogtreecommitdiff
path: root/modules/gdscript/gd_editor.cpp
diff options
context:
space:
mode:
authorMariano Suligoy2017-06-20 17:13:17 -0300
committerMariano Suligoy2017-06-23 07:51:49 -0300
commit7fe750583e17f4e40cc8dda99a59205d22f686f1 (patch)
tree8ffb07e95660fe76dfab83a3a14bbe42a54c1538 /modules/gdscript/gd_editor.cpp
parent7ef52b319f3715e7517e2a02b3b65cffa4d35399 (diff)
downloadgodot-7fe750583e17f4e40cc8dda99a59205d22f686f1.tar.gz
godot-7fe750583e17f4e40cc8dda99a59205d22f686f1.tar.zst
godot-7fe750583e17f4e40cc8dda99a59205d22f686f1.zip
Diffstat (limited to 'modules/gdscript/gd_editor.cpp')
-rw-r--r--modules/gdscript/gd_editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gd_editor.cpp b/modules/gdscript/gd_editor.cpp
index 5e3ce31dd..12e26163d 100644
--- a/modules/gdscript/gd_editor.cpp
+++ b/modules/gdscript/gd_editor.cpp
@@ -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;