Android: Trigger PathChooser validation after OpenSSL cloning

In case the path was non-existent before the cloning, it should not be
"red" anymore after cloning.

Change-Id: If33cfbd07710e317505a9fe1e4b3b9f19a10d5db
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
This commit is contained in:
Alessandro Portale
2020-06-25 12:24:58 +02:00
parent 998c07dcbe
commit 143ff3e126

View File

@@ -827,6 +827,7 @@ void AndroidSettingsWidget::downloadOpenSslRepo(const bool silent)
[=](int exitCode, QProcess::ExitStatus exitStatus) { [=](int exitCode, QProcess::ExitStatus exitStatus) {
openSslProgressDialog->close(); openSslProgressDialog->close();
validateOpenSsl(); validateOpenSsl();
m_ui.openSslPathChooser->triggerChanged(); // After cloning, the path exists
if (!openSslProgressDialog->wasCanceled() if (!openSslProgressDialog->wasCanceled()
|| (exitStatus == QtcProcess::NormalExit && exitCode != 0)) { || (exitStatus == QtcProcess::NormalExit && exitCode != 0)) {