From 61cc15a19a088b1ace4c415efd6355cac0966b3b Mon Sep 17 00:00:00 2001 From: David Hampton Date: Tue, 30 Oct 2001 03:32:46 +0000 Subject: [PATCH] Start with the event type selected. This lets the user just start typing, instead of having to first select the existing event type. svn: r520 --- gramps/src/EventEdit.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gramps/src/EventEdit.py b/gramps/src/EventEdit.py index ab30f4f6f..a3ebf6b32 100644 --- a/gramps/src/EventEdit.py +++ b/gramps/src/EventEdit.py @@ -101,6 +101,8 @@ class EventEditor: if (def_placename): self.place_field.set_text(def_placename) + if (not read_only): + self.name_field.select_region(0, -1) self.window.set_data("o",self) self.top.signal_autoconnect({ "destroy_passed_object" : utils.destroy_passed_object,