changeset 216:f61b709bbd0f

Generate ID for boith id and mbname
author wycc
date Sat, 13 Dec 2008 07:42:01 +0800
parents 9643d383bbb6
children 8d9d717c9300
files inkscape/AssignSymbol.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/inkscape/AssignSymbol.py	Fri Dec 12 22:09:40 2008 +0800
+++ b/inkscape/AssignSymbol.py	Sat Dec 13 07:42:01 2008 +0800
@@ -18,6 +18,7 @@
 		text = self.text.get_text()
 		if text != self.defaultname:
 			self.node.set("mbname",text)
+			self.node.set("id",text)
 		gtk.main_quit()
 		
 	def confirm(self,msg):