diff --git a/Passepartout-iOS/Scenes/Organizer/ImportedHostsViewController.swift b/Passepartout-iOS/Scenes/Organizer/ImportedHostsViewController.swift index f5cbd812..e9cd0087 100644 --- a/Passepartout-iOS/Scenes/Organizer/ImportedHostsViewController.swift +++ b/Passepartout-iOS/Scenes/Organizer/ImportedHostsViewController.swift @@ -33,6 +33,8 @@ class ImportedHostsViewController: UITableViewController { private lazy var pendingConfigurationURLs = TransientStore.shared.service.pendingConfigurationURLs() private var parsedFile: ParsedFile? + + weak var wizardDelegate: WizardDelegate? override func viewDidLoad() { super.viewDidLoad() @@ -75,6 +77,7 @@ class ImportedHostsViewController: UITableViewController { return } wizard.parsedFile = parsedFile + wizard.delegate = wizardDelegate } @IBAction private func close() { diff --git a/Passepartout-iOS/Scenes/Organizer/OrganizerViewController.swift b/Passepartout-iOS/Scenes/Organizer/OrganizerViewController.swift index 0785cd76..f503499d 100644 --- a/Passepartout-iOS/Scenes/Organizer/OrganizerViewController.swift +++ b/Passepartout-iOS/Scenes/Organizer/OrganizerViewController.swift @@ -139,6 +139,8 @@ class OrganizerViewController: UITableViewController, TableModelHost { providerVC.availableNames = availableProviderNames ?? [] } vc.delegate = self + } else if let vc = destination as? ImportedHostsViewController { + vc.wizardDelegate = self } }