Remove check for empty place title

This commit is contained in:
Nick Hall 2015-01-30 22:09:39 +00:00
parent e38a080a3e
commit 06cae9ed32

View File

@ -249,13 +249,6 @@ class EditPlace(EditPrimary):
self.ok_button.set_sensitive(True) self.ok_button.set_sensitive(True)
return return
if self.obj.get_title().strip() == '':
msg1 = _("Cannot save location. Title not entered.")
msg2 = _("You must enter a title before saving.")
ErrorDialog(msg1, msg2)
self.ok_button.set_sensitive(True)
return
if self.obj.get_name().strip() == '': if self.obj.get_name().strip() == '':
msg1 = _("Cannot save location. Name not entered.") msg1 = _("Cannot save location. Name not entered.")
msg2 = _("You must enter a name before saving.") msg2 = _("You must enter a name before saving.")