diff --git a/gramps/gui/widgets/validatedcomboentry.py b/gramps/gui/widgets/validatedcomboentry.py index 175615b87..2ae77f52e 100644 --- a/gramps/gui/widgets/validatedcomboentry.py +++ b/gramps/gui/widgets/validatedcomboentry.py @@ -74,7 +74,8 @@ class ValidatedComboEntry(Gtk.ComboBox): # if Gtk.get_minor_version() < 13: - dummy_event = Gdk.Event(Gdk.EventType.NOTHING) + dummy_event = Gdk.Event() + dummy_event.type = Gdk.EventType.NOTHING else: dummy_event = Gdk.Event() self._entry.start_editing(dummy_event)