mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 11:14:02 +02:00
pyqt6: QWizard changes
This commit is contained in:
parent
9c5e7e0911
commit
d79edbeb54
1 changed files with 2 additions and 2 deletions
|
|
@ -932,7 +932,7 @@ def __init__(self, parent):
|
|||
|
||||
def set_button_texts(self):
|
||||
for but, text in iteritems(self.BUTTON_TEXTS):
|
||||
self.setButtonText(getattr(self, but+'Button'), _(text))
|
||||
self.setButtonText(getattr(QWizard.WizardButton, but+'Button'), _(text))
|
||||
|
||||
def retranslate(self):
|
||||
for pid in self.pageIds():
|
||||
|
|
@ -942,7 +942,7 @@ def retranslate(self):
|
|||
self.set_finish_text()
|
||||
|
||||
def accept(self):
|
||||
pages = map(self.page, self.visitedPages())
|
||||
pages = map(self.page, self.visitedIds())
|
||||
for page in pages:
|
||||
page.commit()
|
||||
QWizard.accept(self)
|
||||
|
|
|
|||
Loading…
Reference in a new issue