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
This commit is contained in:
David Hampton 2001-10-30 03:32:46 +00:00
parent 3a5db79a1d
commit 61cc15a19a

View File

@ -101,6 +101,8 @@ class EventEditor:
if (def_placename): if (def_placename):
self.place_field.set_text(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.window.set_data("o",self)
self.top.signal_autoconnect({ self.top.signal_autoconnect({
"destroy_passed_object" : utils.destroy_passed_object, "destroy_passed_object" : utils.destroy_passed_object,