Highlight attribute type when creating a new attribute. Allows the

user to start typing and auto-complete immediately.


svn: r532
This commit is contained in:
David Hampton 2001-11-01 02:45:20 +00:00
parent 94eef45b33
commit 65ed5b743b

View File

@ -80,6 +80,7 @@ class AttributeEditor:
self.top.get_widget("attrTitle").set_text(title)
if len(list) > 0:
self.attrib_menu.set_popdown_strings(list)
self.type_field.select_region(0, -1)
if attrib != None:
self.type_field.set_text(attrib.getType())