Uncheck unselected radio buttons in Configure Python wizard. (#10344)

This commit is contained in:
Cory Rivera
2020-05-12 13:02:35 -07:00
committed by GitHub
parent 3fa0deed71
commit fc548be2c1

View File

@@ -134,6 +134,7 @@ export class ConfigurePathPage extends BasePage {
checked: !useExistingPython
}).component();
this.newInstallButton.onDidClick(() => {
this.existingInstallButton.checked = false;
this.updatePythonPathsDropdown(false)
.catch(err => {
this.instance.showErrorMessage(utils.getErrorMessage(err));
@@ -147,6 +148,7 @@ export class ConfigurePathPage extends BasePage {
checked: useExistingPython
}).component();
this.existingInstallButton.onDidClick(() => {
this.newInstallButton.checked = false;
this.updatePythonPathsDropdown(true)
.catch(err => {
this.instance.showErrorMessage(utils.getErrorMessage(err));