Merge pull request #5333 from J08nY/signal-list-fix

Object: get_signal_connection_list fixed
This commit is contained in:
Rémi Verschelde 2016-06-22 07:52:23 +02:00 committed by GitHub
commit 0266d752b3

View file

@ -1320,6 +1320,7 @@ Array Object::_get_signal_connection_list(const String& p_signal) const{
for (List<Connection>::Element *E=conns.front();E;E=E->next()) {
Connection &c=E->get();
if (c.signal == p_signal){
Dictionary rc;
rc["signal"]=c.signal;
rc["method"]=c.method;
@ -1329,6 +1330,7 @@ Array Object::_get_signal_connection_list(const String& p_signal) const{
rc["flags"]=c.flags;
ret.push_back(rc);
}
}
return ret;