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:
parent
06600c41c7
commit
9d086224f1
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user