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

This commit is contained in:
Cory Rivera
2020-05-14 10:43:00 -07:00
committed by GitHub
parent e078e3bc48
commit 79669f073c

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));