forked from openlp/openlp
Fix custom edit (Bug #711934)
This commit is contained in:
parent
883130fcb7
commit
b1057a9134
@ -138,13 +138,13 @@ class EditCustomForm(QtGui.QDialog, Ui_CustomEditDialog):
|
||||
|
||||
def reject(self):
|
||||
Receiver.send_message(u'custom_edit_clear')
|
||||
self.close()
|
||||
QtGui.QDialog.reject(self)
|
||||
|
||||
def accept(self):
|
||||
log.debug(u'accept')
|
||||
if self.saveCustom():
|
||||
Receiver.send_message(u'custom_load_list')
|
||||
self.close()
|
||||
QtGui.QDialog.accept(self)
|
||||
|
||||
def saveCustom(self):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user