Skip to content

Commit 6997605

Browse files
Turn sortByLabel back on by default (#260619)
Fixes #256561
1 parent a9c4b92 commit 6997605

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/vs/platform/quickinput/browser/quickInputController.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,9 @@ export class QuickInputController extends Disposable {
546546
input.ignoreFocusOut = !!options.ignoreFocusLost;
547547
input.matchOnDescription = !!options.matchOnDescription;
548548
input.matchOnDetail = !!options.matchOnDetail;
549-
input.sortByLabel = !!options.sortByLabel;
549+
if (options.sortByLabel) {
550+
input.sortByLabel = options.sortByLabel;
551+
}
550552
input.matchOnLabel = (options.matchOnLabel === undefined) || options.matchOnLabel; // default to true
551553
input.quickNavigate = options.quickNavigate;
552554
input.hideInput = !!options.hideInput;

0 commit comments

Comments
 (0)