forked from openlp/openlp
Minor fixes
This commit is contained in:
parent
f12b5f60ae
commit
c75e884c7e
@ -611,7 +611,6 @@ class ServiceManager(QtGui.QWidget):
|
|||||||
item = self.findServiceItem()[0]
|
item = self.findServiceItem()[0]
|
||||||
self.startTimeForm.item = self.serviceItems[item]
|
self.startTimeForm.item = self.serviceItems[item]
|
||||||
if self.startTimeForm.exec_():
|
if self.startTimeForm.exec_():
|
||||||
self.serviceItems[item][u'service_item'].start_time = [0, 0, 0]
|
|
||||||
self.serviceItems[item][u'service_item'].start_time[0] = \
|
self.serviceItems[item][u'service_item'].start_time[0] = \
|
||||||
self.startTimeForm.hourSpinBox.value()
|
self.startTimeForm.hourSpinBox.value()
|
||||||
self.serviceItems[item][u'service_item'].start_time[1] = \
|
self.serviceItems[item][u'service_item'].start_time[1] = \
|
||||||
@ -866,7 +865,7 @@ class ServiceManager(QtGui.QWidget):
|
|||||||
text = frame[u'title'].replace(u'\n', u' ')
|
text = frame[u'title'].replace(u'\n', u' ')
|
||||||
child.setText(0, text[:40])
|
child.setText(0, text[:40])
|
||||||
child.setData(0, QtCore.Qt.UserRole, QtCore.QVariant(count))
|
child.setData(0, QtCore.Qt.UserRole, QtCore.QVariant(count))
|
||||||
tip= item[u'service_item'].get_media_time()
|
tip = item[u'service_item'].get_media_time()
|
||||||
if tip:
|
if tip:
|
||||||
child.setToolTip(0, tip)
|
child.setToolTip(0, tip)
|
||||||
if serviceItem == itemcount:
|
if serviceItem == itemcount:
|
||||||
|
Loading…
Reference in New Issue
Block a user