forked from openlp/openlp
Remove line breaks in ServiceManager
bzr-revno: 1054 Fixes: https://launchpad.net/bugs/642788
This commit is contained in:
commit
17132f0505
@ -559,7 +559,7 @@ class ServiceManager(QtGui.QWidget):
|
|||||||
QtCore.QVariant(item[u'order']))
|
QtCore.QVariant(item[u'order']))
|
||||||
for count, frame in enumerate(serviceitem.get_frames()):
|
for count, frame in enumerate(serviceitem.get_frames()):
|
||||||
treewidgetitem1 = QtGui.QTreeWidgetItem(treewidgetitem)
|
treewidgetitem1 = QtGui.QTreeWidgetItem(treewidgetitem)
|
||||||
text = frame[u'title']
|
text = frame[u'title'].replace(u'\n', u' ')
|
||||||
treewidgetitem1.setText(0, text[:40])
|
treewidgetitem1.setText(0, text[:40])
|
||||||
treewidgetitem1.setData(0, QtCore.Qt.UserRole,
|
treewidgetitem1.setData(0, QtCore.Qt.UserRole,
|
||||||
QtCore.QVariant(count))
|
QtCore.QVariant(count))
|
||||||
|
Loading…
Reference in New Issue
Block a user