fixed display of installation errors on the initial installation screen

This commit is contained in:
vladimir.kuznetsov 2023-09-13 11:09:29 +05:00
parent f11c65c393
commit e2aef1fc1d

View file

@ -56,6 +56,20 @@ PageType {
}
}
Connections {
target: InstallController
function onInstallationErrorOccurred(errorMessage) {
PageController.showErrorMessage(errorMessage)
var currentPageName = tabBarStackView.currentItem.objectName
if (currentPageName === PageController.getPagePath(PageEnum.PageSetupWizardInstalling)) {
PageController.closePage()
}
}
}
FlickableType {
id: fl
anchors.top: parent.top