forked from qt-creator/qt-creator
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:
@@ -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)) {
|
||||||
|
Reference in New Issue
Block a user