mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-17 17:22:42 -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 {
|
||||
super.select(index);
|
||||
let selectedOptionIndex = this._optionsDictionary.get(this._selectedOption);
|
||||
if (selectedOptionIndex === index) { // Not generating an event if the same value is selected.
|
||||
return;
|
||||
}
|
||||
super.select(index);
|
||||
if (this._dialogOptions !== undefined) {
|
||||
this._selectedOption = this._dialogOptions[index]?.value;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user