Don't set cursor inside added child when using add_child()

This commit is contained in:
Matthew Wild 2008-10-26 14:39:52 +00:00
parent cd77265014
commit e8ecd95917

View file

@ -53,7 +53,6 @@ end
function stanza_mt:add_child(child)
(self.last_add[#self.last_add] or self):add_direct_child(child);
t_insert(self.last_add, s);
return self;
end