Update installer_wizard.cpp

This commit is contained in:
Darío 2025-02-05 15:00:53 -03:00 committed by GitHub
parent ad9c38f19f
commit 43a433da84
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -844,7 +844,11 @@ static void DrawDescriptionContainer()
selectIcon = EButtonIcon::LMB; selectIcon = EButtonIcon::LMB;
} }
if (g_currentPage != WizardPage::Installing && textAlpha >= 1.0) if (g_currentPage == WizardPage::InstallSucceeded && textAlpha >= 1.0)
{
ButtonGuide::Open(Button(Localise("Common_Select"), selectIcon));
}
else if (g_currentPage != WizardPage::Installing && textAlpha >= 1.0)
{ {
const char *backKey = "Common_Back"; const char *backKey = "Common_Back";
if ((g_currentPage == g_firstPage) || (g_currentPage == WizardPage::InstallFailed)) if ((g_currentPage == g_firstPage) || (g_currentPage == WizardPage::InstallFailed))