Changeset

181:d952eae776dc

Don't set cursor inside added child when using add_child()
author Matthew Wild <mwild1@gmail.com>
date Sun, 26 Oct 2008 14:39:52 +0000
parents 180:d8b9a19d70eb
children 182:f5cb6b5a6eb7
files util/stanza.lua
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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