From ff4fbde0b0983c3c32b2cb40b3cd3e0edadc5269 Mon Sep 17 00:00:00 2001 From: Nethius Date: Sun, 7 Jul 2024 17:42:14 +0700 Subject: [PATCH] go to the home page after server installation (#878) --- client/ui/qml/Pages2/PageSetupWizardInstalling.qml | 3 +++ client/ui/qml/Pages2/PageSetupWizardViewConfig.qml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/client/ui/qml/Pages2/PageSetupWizardInstalling.qml b/client/ui/qml/Pages2/PageSetupWizardInstalling.qml index 632bb727..b94e40f1 100644 --- a/client/ui/qml/Pages2/PageSetupWizardInstalling.qml +++ b/client/ui/qml/Pages2/PageSetupWizardInstalling.qml @@ -50,6 +50,9 @@ PageType { if (stackView.currentItem.objectName === PageController.getPagePath(PageEnum.PageSetupWizardStart)) { PageController.replaceStartPage() } + if (stackView.currentItem.objectName !== PageController.getPagePath(PageEnum.PageHome)) { + PageController.goToPageHome() + } PageController.showNotificationMessage(finishedMessage) } diff --git a/client/ui/qml/Pages2/PageSetupWizardViewConfig.qml b/client/ui/qml/Pages2/PageSetupWizardViewConfig.qml index b0d5ce44..fc21c61f 100644 --- a/client/ui/qml/Pages2/PageSetupWizardViewConfig.qml +++ b/client/ui/qml/Pages2/PageSetupWizardViewConfig.qml @@ -54,6 +54,9 @@ PageType { if (stackView.currentItem.objectName === PageController.getPagePath(PageEnum.PageSetupWizardStart)) { PageController.replaceStartPage() } + if (stackView.currentItem.objectName !== PageController.getPagePath(PageEnum.PageHome)) { + PageController.goToPageHome() + } } }