mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Removing other changes (#14163)
This commit is contained in:
@@ -197,11 +197,11 @@ export class SelectBox extends vsSelectBox {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public select(index: number): void {
|
public select(index: number): void {
|
||||||
|
super.select(index);
|
||||||
let selectedOptionIndex = this._optionsDictionary.get(this._selectedOption);
|
let selectedOptionIndex = this._optionsDictionary.get(this._selectedOption);
|
||||||
if (selectedOptionIndex === index) { // Not generating an event if the same value is selected.
|
if (selectedOptionIndex === index) { // Not generating an event if the same value is selected.
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
super.select(index);
|
|
||||||
if (this._dialogOptions !== undefined) {
|
if (this._dialogOptions !== undefined) {
|
||||||
this._selectedOption = this._dialogOptions[index]?.value;
|
this._selectedOption = this._dialogOptions[index]?.value;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user