don't show a cancel button in the upgrade wizard

This commit is contained in:
Damien Elmes 2012-03-24 00:44:53 +09:00
parent 88df74ae9a
commit 4322b21c25

View file

@ -77,6 +77,7 @@ to import your decks from previous Anki versions."""))
w.addPage(self._finishedPage()) w.addPage(self._finishedPage())
w.setWindowTitle("Upgrade Wizard") w.setWindowTitle("Upgrade Wizard")
w.setWizardStyle(QWizard.ModernStyle) w.setWizardStyle(QWizard.ModernStyle)
w.setOptions(QWizard.NoCancelButton)
w.exec_() w.exec_()
def _labelPage(self, title, txt): def _labelPage(self, title, txt):