forked from openlp/openlp
fixed regression :/
This commit is contained in:
parent
643fa9436c
commit
b139b6a4eb
@ -158,7 +158,7 @@ class EditCustomForm(QtGui.QDialog, Ui_CustomEditDialog):
|
|||||||
"""
|
"""
|
||||||
Add a new blank slide.
|
Add a new blank slide.
|
||||||
"""
|
"""
|
||||||
self.edit_slide_form.setText(u'')
|
self.edit_slide_form.set_text(u'')
|
||||||
if self.edit_slide_form.exec_():
|
if self.edit_slide_form.exec_():
|
||||||
self.slide_list_view.addItems(self.edit_slide_form.get_text())
|
self.slide_list_view.addItems(self.edit_slide_form.get_text())
|
||||||
|
|
||||||
@ -166,7 +166,7 @@ class EditCustomForm(QtGui.QDialog, Ui_CustomEditDialog):
|
|||||||
"""
|
"""
|
||||||
Edit the currently selected slide.
|
Edit the currently selected slide.
|
||||||
"""
|
"""
|
||||||
self.edit_slide_form.setText(self.slide_list_view.currentItem().text())
|
self.edit_slide_form.set_text(self.slide_list_view.currentItem().text())
|
||||||
if self.edit_slide_form.exec_():
|
if self.edit_slide_form.exec_():
|
||||||
self.update_slide_list(self.edit_slide_form.get_text())
|
self.update_slide_list(self.edit_slide_form.get_text())
|
||||||
|
|
||||||
@ -180,7 +180,7 @@ class EditCustomForm(QtGui.QDialog, Ui_CustomEditDialog):
|
|||||||
slide_text += item.text()
|
slide_text += item.text()
|
||||||
if row != self.slide_list_view.count() - 1:
|
if row != self.slide_list_view.count() - 1:
|
||||||
slide_text += u'\n[===]\n'
|
slide_text += u'\n[===]\n'
|
||||||
self.edit_slide_form.setText(slide_text)
|
self.edit_slide_form.set_text(slide_text)
|
||||||
if self.edit_slide_form.exec_():
|
if self.edit_slide_form.exec_():
|
||||||
self.update_slide_list(self.edit_slide_form.get_text(), True)
|
self.update_slide_list(self.edit_slide_form.get_text(), True)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user