Remove check for empty place title
This commit is contained in:
parent
9cf8a940f9
commit
2d27ada429
@ -249,13 +249,6 @@ class EditPlace(EditPrimary):
|
||||
self.ok_button.set_sensitive(True)
|
||||
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() == '':
|
||||
msg1 = _("Cannot save location. Name not entered.")
|
||||
msg2 = _("You must enter a name before saving.")
|
||||
|
Loading…
Reference in New Issue
Block a user