forked from openlp/openlp
End times should be finished
This commit is contained in:
parent
ee8b11e4e9
commit
b73a8a86a7
@ -74,14 +74,14 @@ class StartTimeForm(QtGui.QDialog, Ui_StartTimeDialog):
|
|||||||
title=translate('OpenLP.StartTimeForm',
|
title=translate('OpenLP.StartTimeForm',
|
||||||
'Time Validation Error'),
|
'Time Validation Error'),
|
||||||
message=translate('OpenLP.StartTimeForm',
|
message=translate('OpenLP.StartTimeForm',
|
||||||
'End time is set after the end of the media item'))
|
'Finish time is set after the end of the media item'))
|
||||||
return
|
return
|
||||||
elif start > end:
|
elif start > end:
|
||||||
critical_error_message_box(
|
critical_error_message_box(
|
||||||
title=translate('OpenLP.StartTimeForm',
|
title=translate('OpenLP.StartTimeForm',
|
||||||
'Time Validation Error'),
|
'Time Validation Error'),
|
||||||
message=translate('OpenLP.StartTimeForm',
|
message=translate('OpenLP.StartTimeForm',
|
||||||
'Start time is after the End time of the media item'))
|
'Start time is after the finish time of the media item'))
|
||||||
return
|
return
|
||||||
self.item[u'service_item'].start_time = start
|
self.item[u'service_item'].start_time = start
|
||||||
self.item[u'service_item'].end_time = end
|
self.item[u'service_item'].end_time = end
|
||||||
|
Loading…
Reference in New Issue
Block a user