Browse Source

Debugger: Fix breaked signal binding (#4508)

Closes #4270.
Rémi Verschelde 9 years ago
parent
commit
8ceab5ddaf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tools/editor/script_editor_debugger.cpp

+ 1 - 1
tools/editor/script_editor_debugger.cpp

@@ -1199,7 +1199,7 @@ void ScriptEditorDebugger::_bind_methods() {
 	ObjectTypeDB::bind_method(_MD("live_debug_reparent_node"),&ScriptEditorDebugger::live_debug_reparent_node);
 
 	ADD_SIGNAL(MethodInfo("goto_script_line"));
-	ADD_SIGNAL(MethodInfo("breaked",PropertyInfo(Variant::BOOL,"reallydid")));
+	ADD_SIGNAL(MethodInfo("breaked",PropertyInfo(Variant::BOOL,"reallydid"),PropertyInfo(Variant::BOOL,"can_debug")));
 	ADD_SIGNAL(MethodInfo("show_debugger",PropertyInfo(Variant::BOOL,"reallydid")));
 }