Skip to content

Commit

Permalink
Fix bad simple file dialog autocomlete
Browse files Browse the repository at this point in the history
Fixes #145596
  • Loading branch information
alexr00 committed Mar 23, 2022
1 parent 00b43ac commit c815a4a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ export class SimpleFileDialog {

private tryUpdateTrailing(value: URI) {
const ext = resources.extname(value);
if (ext) {
if (this.trailing && ext) {
this.trailing = resources.basename(value);
}
}
Expand Down

0 comments on commit c815a4a

Please sign in to comment.