Skip to content

Commit 6d3b420

Browse files
committed
ref: move setup wizard to wizard_init submodule
1 parent 3ac5ba1 commit 6d3b420

5 files changed

Lines changed: 5 additions & 4 deletions

File tree

CHANGELOG

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
- feat: add circle archiving in the BagIt (RFC 8493) format
33
- fix: handle resource downloads whose target directory got deleted
44
- fix: check for existence of persistent job list in upload
5+
- ref: move setup wizard to `wizard_init` submodule
56
1.0.0
67
- fix: do not attempt to updates non-existent eternal jobs on exit
78
- enh: allow users to specify circle IDs as well as names during upload

dcoraid/gui/main.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
from .preferences import PreferencesDialog
2626
from .status_widget import StatusWidget
2727
from . import updater
28-
from .wizard import SetupWizard
28+
from .wizard_init import SetupWizard
2929

3030

3131
file_manager = ExitStack()
@@ -362,8 +362,8 @@ def on_progress_db_update(self, data):
362362

363363
@QtCore.pyqtSlot()
364364
def on_wizard(self):
365-
self.wizard = SetupWizard(self)
366-
self.wizard.exec()
365+
self.wizard_init = SetupWizard(self)
366+
self.wizard_init.exec()
367367

368368

369369
class UpdateDatabaseWorker(QtCore.QObject):
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class SetupWizard(QtWidgets.QWizard):
4545

4646
def __init__(self, *args, **kwargs):
4747
super(SetupWizard, self).__init__(None)
48-
ref_ui = resources.files("dcoraid.gui.wizard") / "wizard.ui"
48+
ref_ui = resources.files("dcoraid.gui.wizard_init") / "wizard_init.ui"
4949
with resources.as_file(ref_ui) as path_ui:
5050
uic.loadUi(path_ui, self)
5151

0 commit comments

Comments
 (0)