From 65ed5b743bc11c3328ff6b5ae18bb635843bf4dc 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 --- gramps/src/AttrEdit.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gramps/src/AttrEdit.py b/gramps/src/AttrEdit.py index cd4ac1e1d..43edb3775 100644 --- a/gramps/src/AttrEdit.py +++ b/gramps/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())