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

Sun, 26 Oct 2008 14:39:52 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Sun, 26 Oct 2008 14:39:52 +0000
changeset 181
d952eae776dc
parent 180
d8b9a19d70eb
child 182
f5cb6b5a6eb7

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

util/stanza.lua file | annotate | diff | comparison | revisions
--- a/util/stanza.lua	Sun Oct 26 14:27:10 2008 +0000
+++ b/util/stanza.lua	Sun Oct 26 14:39:52 2008 +0000
@@ -53,7 +53,6 @@
 
 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
 

mercurial