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:
parent
94eef45b33
commit
65ed5b743b
@ -80,6 +80,7 @@ class AttributeEditor:
|
|||||||
self.top.get_widget("attrTitle").set_text(title)
|
self.top.get_widget("attrTitle").set_text(title)
|
||||||
if len(list) > 0:
|
if len(list) > 0:
|
||||||
self.attrib_menu.set_popdown_strings(list)
|
self.attrib_menu.set_popdown_strings(list)
|
||||||
|
self.type_field.select_region(0, -1)
|
||||||
|
|
||||||
if attrib != None:
|
if attrib != None:
|
||||||
self.type_field.set_text(attrib.getType())
|
self.type_field.set_text(attrib.getType())
|
||||||
|
Loading…
Reference in New Issue
Block a user