fix incorrect qt constructor call
This commit is contained in:
parent
ef23268573
commit
7755eb408c
@ -124,7 +124,7 @@ def askUser(text, parent=None, help="", defaultno=False, msgfunc=None, \
|
|||||||
class ButtonedDialog(QMessageBox):
|
class ButtonedDialog(QMessageBox):
|
||||||
|
|
||||||
def __init__(self, text, buttons, parent=None, help="", title="Anki"):
|
def __init__(self, text, buttons, parent=None, help="", title="Anki"):
|
||||||
QDialog.__init__(self, parent)
|
QMessageBox.__init__(self, parent)
|
||||||
self.buttons = []
|
self.buttons = []
|
||||||
self.setWindowTitle(title)
|
self.setWindowTitle(title)
|
||||||
self.help = help
|
self.help = help
|
||||||
|
Loading…
Reference in New Issue
Block a user