mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Uncheck unselected radio buttons in Configure Python wizard. (#10344)
This commit is contained in:
@@ -134,6 +134,7 @@ export class ConfigurePathPage extends BasePage {
|
|||||||
checked: !useExistingPython
|
checked: !useExistingPython
|
||||||
}).component();
|
}).component();
|
||||||
this.newInstallButton.onDidClick(() => {
|
this.newInstallButton.onDidClick(() => {
|
||||||
|
this.existingInstallButton.checked = false;
|
||||||
this.updatePythonPathsDropdown(false)
|
this.updatePythonPathsDropdown(false)
|
||||||
.catch(err => {
|
.catch(err => {
|
||||||
this.instance.showErrorMessage(utils.getErrorMessage(err));
|
this.instance.showErrorMessage(utils.getErrorMessage(err));
|
||||||
@@ -147,6 +148,7 @@ export class ConfigurePathPage extends BasePage {
|
|||||||
checked: useExistingPython
|
checked: useExistingPython
|
||||||
}).component();
|
}).component();
|
||||||
this.existingInstallButton.onDidClick(() => {
|
this.existingInstallButton.onDidClick(() => {
|
||||||
|
this.newInstallButton.checked = false;
|
||||||
this.updatePythonPathsDropdown(true)
|
this.updatePythonPathsDropdown(true)
|
||||||
.catch(err => {
|
.catch(err => {
|
||||||
this.instance.showErrorMessage(utils.getErrorMessage(err));
|
this.instance.showErrorMessage(utils.getErrorMessage(err));
|
||||||
|
|||||||
Reference in New Issue
Block a user