From 495146f90479155862d8798fa8bd0aa6aa669f65 Mon Sep 17 00:00:00 2001 From: David Hampton Date: Thu, 1 Nov 2001 02:45:20 +0000 Subject: [PATCH] Highlight attribute type when creating a new attribute. Allows the user to start typing and auto-complete immediately. svn: r532 --- src/AttrEdit.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/AttrEdit.py b/src/AttrEdit.py index cd4ac1e1d..43edb3775 100644 --- a/src/AttrEdit.py +++ b/src/AttrEdit.py @@ -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())