mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-03-17 19:11:36 -04:00
ok button targetted fix (#9095)
This commit is contained in:
3
src/vs/vscode.d.ts
vendored
3
src/vs/vscode.d.ts
vendored
@@ -7940,6 +7940,9 @@ declare module 'vscode' {
|
||||
* An event signaling when the selected items have changed.
|
||||
*/
|
||||
readonly onDidChangeSelection: Event<T[]>;
|
||||
|
||||
// {SQL CARBON EDIT} Temporary change to allow setting the behavior of the QuickPick
|
||||
ok: boolean;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -261,9 +261,22 @@ class ExtHostQuickInput implements QuickInput {
|
||||
this._onDidChangeValueEmitter
|
||||
];
|
||||
|
||||
|
||||
constructor(protected _proxy: MainThreadQuickOpenShape, protected _extensionId: ExtensionIdentifier, private _onDidDispose: () => void) {
|
||||
}
|
||||
|
||||
// {SQL CARBON EDIT} START Temporary change for ok button visibility
|
||||
private _ok = false;
|
||||
get ok() {
|
||||
return this._ok;
|
||||
}
|
||||
|
||||
set ok(ok: boolean) {
|
||||
this._ok = ok;
|
||||
this.update({ ok });
|
||||
}
|
||||
// {SQL CARBON EDIT} END Temporary change for ok button visibility
|
||||
|
||||
get title() {
|
||||
return this._title;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user